the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 21 lines 497 B view raw
1#pragma once 2#include "EntityRenderer.h" 3 4class SkeletonHeadModel; 5 6class WitherSkullRenderer : public EntityRenderer 7{ 8private: 9 static ResourceLocation WITHER_ARMOR_LOCATION; 10 static ResourceLocation WITHER_LOCATION; 11 12 SkeletonHeadModel *model; 13 14public: 15 WitherSkullRenderer(); 16 void render(shared_ptr<Entity> entity, double x, double y, double z, float rot, float a); 17 ResourceLocation *getTextureLocation(shared_ptr<Entity> entity); 18 19private: 20 float rotlerp(float from, float to, float a); 21};