the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 24 lines 559 B view raw
1#pragma once 2#include "MobRenderer.h" 3 4class Silverfish; 5 6class SilverfishRenderer : public MobRenderer 7{ 8private: 9 //int modelVersion; 10 static ResourceLocation SILVERFISH_LOCATION; 11 12public: 13 SilverfishRenderer(); 14 15protected: 16 float getFlipDegrees(shared_ptr<LivingEntity> spider); 17 18public: 19 virtual void render(shared_ptr<Entity> _mob, double x, double y, double z, float rot, float a); 20 virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob); 21 22protected: 23 virtual int prepareArmor(shared_ptr<LivingEntity> _silverfish, int layer, float a); 24};