aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/PigRenderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/PigRenderer.h')
-rw-r--r--Minecraft.Client/PigRenderer.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Minecraft.Client/PigRenderer.h b/Minecraft.Client/PigRenderer.h
index e674b508..b089b6bd 100644
--- a/Minecraft.Client/PigRenderer.h
+++ b/Minecraft.Client/PigRenderer.h
@@ -3,11 +3,17 @@
class PigRenderer : public MobRenderer
{
+private:
+ static ResourceLocation PIG_LOCATION;
+ static ResourceLocation SADDLE_LOCATION;
+
public:
PigRenderer(Model *model, Model *armor, float shadow);
+
protected:
- virtual int prepareArmor(shared_ptr<Mob> _pig, int layer, float a);
+ virtual int prepareArmor(shared_ptr<LivingEntity> _pig, int layer, float a);
public:
virtual void render(shared_ptr<Entity> mob, double x, double y, double z, float rot, float a);
+ virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
}; \ No newline at end of file