aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/VillagerGolemRenderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/VillagerGolemRenderer.h')
-rw-r--r--Minecraft.Client/VillagerGolemRenderer.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/Minecraft.Client/VillagerGolemRenderer.h b/Minecraft.Client/VillagerGolemRenderer.h
index 4bc3fd9c..e20fb81c 100644
--- a/Minecraft.Client/VillagerGolemRenderer.h
+++ b/Minecraft.Client/VillagerGolemRenderer.h
@@ -8,17 +8,14 @@ class VillagerGolemRenderer : public MobRenderer
{
private:
VillagerGolemModel *golemModel;
+ static ResourceLocation GOLEM_LOCATION;
public:
VillagerGolemRenderer();
+ virtual void render(shared_ptr<Entity> mob, double x, double y, double z, float rot, float a);
+ virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
protected:
- int prepareArmor(VillagerGolemModel *villagerGolem, int layer, float a);
-
-public:
- void render(shared_ptr<Entity> mob, double x, double y, double z, float rot, float a);
-
-protected:
- void setupRotations(shared_ptr<Mob> _mob, float bob, float bodyRot, float a);
- void additionalRendering(shared_ptr<Mob> mob, float a);
+ virtual void setupRotations(shared_ptr<LivingEntity> _mob, float bob, float bodyRot, float a);
+ virtual void additionalRendering(shared_ptr<LivingEntity> mob, float a);
}; \ No newline at end of file