4jcraft/targets/minecraft/client/renderer/entity/WitherSkullRenderer.h
2026-04-01 13:27:58 -05:00

22 lines
567 B
C++

#pragma once
#include "EntityRenderer.h"
class SkeletonHeadModel;
class ResourceLocation;
class WitherSkullRenderer : public EntityRenderer {
private:
static ResourceLocation WITHER_ARMOR_LOCATION;
static ResourceLocation WITHER_LOCATION;
SkeletonHeadModel* model;
public:
WitherSkullRenderer();
void render(std::shared_ptr<Entity> entity, double x, double y, double z,
float rot, float a);
ResourceLocation* getTextureLocation(std::shared_ptr<Entity> entity);
private:
float rotlerp(float from, float to, float a);
};