mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-08 08:47:14 +00:00
22 lines
762 B
C++
22 lines
762 B
C++
#pragma once
|
|
#include "MobRenderer.h"
|
|
|
|
class CreeperRenderer : public MobRenderer {
|
|
private:
|
|
static ResourceLocation POWER_LOCATION;
|
|
static ResourceLocation CREEPER_LOCATION;
|
|
Model* armorModel;
|
|
|
|
public:
|
|
CreeperRenderer();
|
|
|
|
protected:
|
|
virtual void scale(std::shared_ptr<LivingEntity> _mob, float a);
|
|
virtual int getOverlayColor(std::shared_ptr<LivingEntity> mob, float br,
|
|
float a);
|
|
virtual int prepareArmor(std::shared_ptr<LivingEntity> mob, int layer,
|
|
float a);
|
|
virtual int prepareArmorOverlay(std::shared_ptr<LivingEntity> _mob,
|
|
int layer, float a);
|
|
virtual ResourceLocation* getTextureLocation(std::shared_ptr<Entity> mob);
|
|
}; |