mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-27 13:33:45 +00:00
19 lines
528 B
C++
19 lines
528 B
C++
#pragma once
|
|
#include "MobRenderer.h"
|
|
|
|
class Model;
|
|
class ResourceLocation;
|
|
|
|
class ChickenRenderer : public MobRenderer {
|
|
private:
|
|
static ResourceLocation CHICKEN_LOCATION;
|
|
|
|
public:
|
|
ChickenRenderer(Model* model, float shadow);
|
|
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);
|
|
|
|
protected:
|
|
virtual float getBob(std::shared_ptr<LivingEntity> _mob, float a);
|
|
}; |