aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/VillagerGolemRenderer.h
blob: e20fb81cd09fed94d93904bd5d71ed7d80bf4eb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "MobRenderer.h"

class VillagerGolemModel;

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:
	virtual void setupRotations(shared_ptr<LivingEntity> _mob, float bob, float bodyRot, float a);
	virtual void additionalRendering(shared_ptr<LivingEntity> mob, float a);
};