Files

24 lines
598 B
C
Raw Permalink Normal View History

2026-03-01 12:16:08 +08:00
#pragma once
#include "MobRenderer.h"
class EnderMan;
class EndermanModel;
class EndermanRenderer : public MobRenderer
{
private:
EndermanModel *model;
Random random;
static ResourceLocation ENDERMAN_EYES_LOCATION;
static ResourceLocation ENDERMAN_LOCATION;
2026-03-01 12:16:08 +08:00
public:
EndermanRenderer();
void render(shared_ptr<Entity> _mob, double x, double y, double z, float rot, float a);
ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
void additionalRendering(shared_ptr<LivingEntity> _mob, float a);
2026-03-01 12:16:08 +08:00
protected:
int prepareArmor(shared_ptr<LivingEntity> _mob, int layer, float a);
2026-03-01 12:16:08 +08:00
};