aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/PigRenderer.h
blob: b089b6bd9ee0e9330c906ce105f092056f0f24eb (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 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<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);
};