the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "Model.h"
3#include "ModelPart.h"
4
5class DragonModel : public Model
6{
7public:
8 static const int MODEL_ID = 4;
9
10private:
11 ModelPart *head;
12 ModelPart *neck;
13 ModelPart *jaw;
14 ModelPart *body;
15 ModelPart *rearLeg;
16 ModelPart *frontLeg;
17 ModelPart *rearLegTip;
18 ModelPart *frontLegTip;
19 ModelPart *rearFoot;
20 ModelPart *frontFoot;
21 ModelPart *wing;
22 ModelPart *wingTip;
23 float a;
24
25public:
26
27 ModelPart *cubes[5];
28 DragonModel(float g);
29 void prepareMobModel(shared_ptr<LivingEntity> mob, float time, float r, float a);
30 virtual void render(shared_ptr<Entity> entity, float time, float r, float bob, float yRot, float xRot, float scale, bool usecompiled);
31
32private:
33 float rotWrap(double d);
34
35};