mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-29 02:53:37 +00:00
20 lines
600 B
C++
20 lines
600 B
C++
#pragma once
|
|
#include "MobRenderer.h"
|
|
|
|
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);
|
|
}; |