mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-24 19:48:12 +05:00
19 lines
503 B
C++
19 lines
503 B
C++
#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);
|
|
}; |