mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-01 09:23:36 +00:00
27 lines
897 B
C++
27 lines
897 B
C++
#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(std::shared_ptr<Entity> entity, double x, double y,
|
|
double z, float rot, float a);
|
|
virtual ResourceLocation* getTextureLocation(
|
|
std::shared_ptr<Entity> entity);
|
|
|
|
protected:
|
|
virtual void scale(std::shared_ptr<LivingEntity> mob, float a);
|
|
virtual int prepareArmor(std::shared_ptr<LivingEntity> entity, int layer,
|
|
float a);
|
|
virtual int prepareArmorOverlay(std::shared_ptr<LivingEntity> entity,
|
|
int layer, float a);
|
|
}; |