the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 20 lines 606 B view raw
1#pragma once 2#include "MobRenderer.h" 3 4class BatModel; 5 6class BatRenderer : public MobRenderer 7{ 8 static ResourceLocation BAT_LOCATION; 9 int modelVersion; 10 11public: 12 BatRenderer(); 13 virtual void render(shared_ptr<Entity> _mob, double x, double y, double z, float rot, float a); 14 15protected: 16 virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob); 17 virtual void scale(shared_ptr<LivingEntity> mob, float a); 18 virtual void setupPosition(shared_ptr<LivingEntity> mob, double x, double y, double z); 19 virtual void setupRotations(shared_ptr<LivingEntity> mob, float bob, float bodyRot, float a); 20};