the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "MobRenderer.h"
3
4class PigRenderer : public MobRenderer
5{
6private:
7 static ResourceLocation PIG_LOCATION;
8 static ResourceLocation SADDLE_LOCATION;
9
10public:
11 PigRenderer(Model *model, Model *armor, float shadow);
12
13protected:
14 virtual int prepareArmor(shared_ptr<LivingEntity> _pig, int layer, float a);
15
16public:
17 virtual void render(shared_ptr<Entity> mob, double x, double y, double z, float rot, float a);
18 virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
19};