the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 19 lines 584 B view raw
1#pragma once 2#include "MobRenderer.h" 3 4class OcelotRenderer : public MobRenderer 5{ 6private: 7 static ResourceLocation CAT_BLACK_LOCATION; 8 static ResourceLocation CAT_OCELOT_LOCATION; 9 static ResourceLocation CAT_RED_LOCATION; 10 static ResourceLocation CAT_SIAMESE_LOCATION; 11 12public: 13 OcelotRenderer(Model *model, float shadow); 14 virtual void render(shared_ptr<Entity> _mob, double x, double y, double z, float rot, float a); 15 16protected: 17 virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> entity); 18 virtual void scale(shared_ptr<LivingEntity> _mob, float a); 19};