4jcraft/Minecraft.Client/Rendering/EntityRenderers/WitherBossRenderer.h
2026-03-21 22:28:58 -05:00

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);
};