the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 34 lines 1.0 kB view raw
1#pragma once 2#include "MobRenderer.h" 3 4#ifdef _XBOX 5class EnderDragon; 6#endif 7class DragonModel; 8 9class EnderDragonRenderer : public MobRenderer 10{ 11private: 12 static ResourceLocation DRAGON_EXPLODING_LOCATION; 13 static ResourceLocation CRYSTAL_BEAM_LOCATION; 14 static ResourceLocation DRAGON_EYES_LOCATION; 15 static ResourceLocation DRAGON_LOCATION; 16 17protected: 18 DragonModel *dragonModel; 19 20public: 21 EnderDragonRenderer(); 22 23protected: 24 virtual void setupRotations(shared_ptr<LivingEntity> _mob, float bob, float bodyRot, float a); 25 virtual void renderModel(shared_ptr<LivingEntity> _mob, float wp, float ws, float bob, float headRotMinusBodyRot, float headRotx, float scale); 26 27public: 28 virtual void render(shared_ptr<Entity> _mob, double x, double y, double z, float rot, float a); 29 virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob); 30 31protected: 32 virtual void additionalRendering(shared_ptr<LivingEntity> _mob, float a); 33 virtual int prepareArmor(shared_ptr<LivingEntity> _mob, int layer, float a); 34};