2026-03-01 12:16:08 +08:00
|
|
|
#pragma once
|
|
|
|
|
#include "MobRenderer.h"
|
|
|
|
|
|
|
|
|
|
class CreeperRenderer: public MobRenderer
|
|
|
|
|
{
|
|
|
|
|
private:
|
2026-03-03 03:04:10 +08:00
|
|
|
static ResourceLocation POWER_LOCATION;
|
|
|
|
|
static ResourceLocation CREEPER_LOCATION;
|
|
|
|
|
Model *armorModel;
|
2026-03-01 12:16:08 +08:00
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
CreeperRenderer();
|
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 void scale(shared_ptr<LivingEntity> _mob, float a);
|
|
|
|
|
virtual int getOverlayColor(shared_ptr<LivingEntity> mob, float br, float a);
|
|
|
|
|
virtual int prepareArmor(shared_ptr<LivingEntity> mob, int layer, float a);
|
|
|
|
|
virtual int prepareArmorOverlay(shared_ptr<LivingEntity> _mob, int layer, float a);
|
|
|
|
|
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
|
2026-03-01 12:16:08 +08:00
|
|
|
};
|