mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-18 19:50:00 +01:00
Co-authored-by: DrPerkyLegit <116128211+DrPerkyLegit@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Anaël <60509176+Bakoubak@users.noreply.github.com> Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/4205
25 lines
726 B
C++
25 lines
726 B
C++
#pragma once
|
|
#include "HumanoidMobRenderer.h"
|
|
|
|
class SkeletonModel;
|
|
|
|
class SkeletonRenderer : public HumanoidMobRenderer
|
|
{
|
|
private:
|
|
static ResourceLocation SKELETON_LOCATION;
|
|
static ResourceLocation WITHER_SKELETON_LOCATION;
|
|
static ResourceLocation STRAY_LOCATION;
|
|
static ResourceLocation STRAY_CLOTHES_LOCATION;
|
|
|
|
SkeletonModel *strayClothesModel;
|
|
|
|
public:
|
|
SkeletonRenderer();
|
|
|
|
protected:
|
|
virtual void scale(shared_ptr<LivingEntity> mob, float a);
|
|
void translateWeaponItem();
|
|
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> entity);
|
|
virtual void renderModel(shared_ptr<LivingEntity> mob, float wp, float ws, float bob, float headRotMinusBodyRot, float headRotx, float scale);
|
|
};
|