mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-01 07:23:48 +00:00
23 lines
638 B
C++
23 lines
638 B
C++
#pragma once
|
|
#include "MobRenderer.h"
|
|
|
|
class Model;
|
|
class ResourceLocation;
|
|
|
|
class SheepRenderer : public MobRenderer {
|
|
private:
|
|
static ResourceLocation SHEEP_LOCATION;
|
|
static ResourceLocation SHEEP_FUR_LOCATION;
|
|
|
|
public:
|
|
SheepRenderer(Model* model, Model* armor, float shadow);
|
|
|
|
protected:
|
|
virtual int prepareArmor(std::shared_ptr<LivingEntity> _sheep, int layer,
|
|
float a);
|
|
|
|
public:
|
|
virtual void render(std::shared_ptr<Entity> mob, double x, double y,
|
|
double z, float rot, float a);
|
|
virtual ResourceLocation* getTextureLocation(std::shared_ptr<Entity> mob);
|
|
}; |