aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/WolfRenderer.h
blob: 4d60b096a50af891bc2936578da3996929005e1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
#include "MobRenderer.h"

class WolfRenderer : public MobRenderer
{
private:
	static ResourceLocation *WOLF_LOCATION;
	static ResourceLocation *WOLF_TAME_LOCATION;
	static ResourceLocation *WOLF_ANGRY_LOCATION;
	static ResourceLocation *WOLF_COLLAR_LOCATION;

public:
	WolfRenderer(Model *model, Model *armor, float shadow);

protected:
	virtual float getBob(shared_ptr<LivingEntity> _mob, float a);
	virtual int prepareArmor(shared_ptr<LivingEntity> mob, int layer, float a);
	virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
};