mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-07 05:57:14 +00:00
19 lines
631 B
C++
19 lines
631 B
C++
#pragma once
|
|
#include "MobRenderer.h"
|
|
|
|
class WolfRenderer : public MobRenderer {
|
|
private:
|
|
static ResourceLocation* WOLF_LOCATION;
|
|
static ResourceLocation* WOLF_TAME_LOCATION;
|
|
static ResourceLocation* WOLF_ANGRY_LOCATION;
|
|
static ResourceLocation* WOLF_COLLAR_LOCATION;
|
|
|
|
public:
|
|
WolfRenderer(Model* model, Model* armor, float shadow);
|
|
|
|
protected:
|
|
virtual float getBob(std::shared_ptr<LivingEntity> _mob, float a);
|
|
virtual int prepareArmor(std::shared_ptr<LivingEntity> mob, int layer,
|
|
float a);
|
|
virtual ResourceLocation* getTextureLocation(std::shared_ptr<Entity> mob);
|
|
}; |