blob: 5e567d11ef46bd52df9934c334b736f221abc4a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#pragma once
#include "MobRenderer.h"
class WitherBoss;
class LivingEntity;
class WitherBossRenderer : public MobRenderer
{
private:
static ResourceLocation WITHER_INVULERABLE_LOCATION;
static ResourceLocation WITHER_ARMOR_LOCATION;
static ResourceLocation WITHER_LOCATION;
int modelVersion;
public:
WitherBossRenderer();
virtual void render(shared_ptr<Entity> entity, double x, double y, double z, float rot, float a);
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> entity);
protected:
virtual void scale(shared_ptr<LivingEntity> mob, float a);
virtual int prepareArmor(shared_ptr<LivingEntity> entity, int layer, float a);
virtual int prepareArmorOverlay(shared_ptr<LivingEntity> entity, int layer, float a);
};
|