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
24 lines
772 B
C++
24 lines
772 B
C++
#pragma once
|
|
#include "MobRenderer.h"
|
|
|
|
class ShulkerModel;
|
|
|
|
class ShulkerRenderer : public MobRenderer
|
|
{
|
|
private:
|
|
static ResourceLocation SHULKER_LOCATION;
|
|
ShulkerModel *shulkerModel;
|
|
|
|
public:
|
|
ShulkerRenderer();
|
|
|
|
virtual void render(shared_ptr<Entity> _mob, double x, double y, double z, float rot, float a);
|
|
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
|
|
|
|
protected:
|
|
virtual void setupRotations(shared_ptr<LivingEntity> mob, float bob, float bodyRot, float a);
|
|
virtual void scale(shared_ptr<LivingEntity> mob, float a);
|
|
virtual void additionalRendering(shared_ptr<LivingEntity> mob, float a);
|
|
virtual void renderModel(shared_ptr<LivingEntity> mob, float wp, float ws, float bob, float headRotMinusBodyRot, float headRotx, float scale);
|
|
};
|