2026-03-01 12:16:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
#include "MobRenderer.h"
|
|
|
|
|
|
|
|
|
|
class SpiderRenderer : public MobRenderer
|
|
|
|
|
{
|
2026-03-03 03:04:10 +08:00
|
|
|
private:
|
|
|
|
|
static ResourceLocation SPIDER_LOCATION;
|
|
|
|
|
static ResourceLocation SPIDER_EYES_LOCATION;
|
|
|
|
|
|
2026-03-01 12:16:08 +08:00
|
|
|
public:
|
|
|
|
|
SpiderRenderer();
|
2026-03-03 03:04:10 +08:00
|
|
|
|
2026-03-01 12:16:08 +08:00
|
|
|
protected:
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual float getFlipDegrees(shared_ptr<LivingEntity> spider);
|
|
|
|
|
virtual int prepareArmor(shared_ptr<LivingEntity> _spider, int layer, float a);
|
|
|
|
|
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
|
2026-03-01 12:16:08 +08:00
|
|
|
};
|