2026-03-01 12:16:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "MobRenderer.h"
|
|
|
|
|
|
|
|
|
|
class VillagerGolemModel;
|
|
|
|
|
|
|
|
|
|
class VillagerGolemRenderer : public MobRenderer
|
|
|
|
|
{
|
|
|
|
|
private:
|
|
|
|
|
VillagerGolemModel *golemModel;
|
2026-03-03 03:04:10 +08:00
|
|
|
static ResourceLocation GOLEM_LOCATION;
|
2026-03-01 12:16:08 +08:00
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
VillagerGolemRenderer();
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual void render(shared_ptr<Entity> mob, double x, double y, double z, float rot, float a);
|
|
|
|
|
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
|
2026-03-01 12:16:08 +08:00
|
|
|
|
|
|
|
|
protected:
|
2026-03-03 03:04:10 +08:00
|
|
|
virtual void setupRotations(shared_ptr<LivingEntity> _mob, float bob, float bodyRot, float a);
|
|
|
|
|
virtual void additionalRendering(shared_ptr<LivingEntity> mob, float a);
|
2026-03-01 12:16:08 +08:00
|
|
|
};
|