mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftConsoles-141217.git
synced 2026-10-22 13:22:18 +01:00
Initial commit
This commit is contained in:
commit
2dfcaaa842
5375 files changed
+978475
No files matched your search
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
#include "MobRenderer.h"
|
||||
|
||||
class VillagerModel;
|
||||
|
||||
class VillagerRenderer : public MobRenderer
|
||||
{
|
||||
private:
|
||||
static ResourceLocation VILLAGER_LOCATION;
|
||||
static ResourceLocation VILLAGER_FARMER_LOCATION;
|
||||
static ResourceLocation VILLAGER_LIBRARIAN_LOCATION;
|
||||
static ResourceLocation VILLAGER_PRIEST_LOCATION;
|
||||
static ResourceLocation VILLAGER_SMITH_LOCATION;
|
||||
static ResourceLocation VILLAGER_BUTCHER_LOCATION;
|
||||
|
||||
protected:
|
||||
VillagerModel *villagerModel;
|
||||
|
||||
public:
|
||||
VillagerRenderer();
|
||||
virtual void render(shared_ptr<Entity> mob, double x, double y, double z, float rot, float a);
|
||||
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> _mob);
|
||||
|
||||
protected:
|
||||
virtual int prepareArmor(shared_ptr<LivingEntity> villager, int layer, float a);
|
||||
virtual void additionalRendering(shared_ptr<LivingEntity> mob, float a);
|
||||
virtual void scale(shared_ptr<LivingEntity> player, float a);
|
||||
};
|
||||
Reference in new issue
Block a user