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
20 lines
524 B
C++
20 lines
524 B
C++
#pragma once
|
|
#include "EntityRenderer.h"
|
|
|
|
class BoatRenderer : public EntityRenderer
|
|
{
|
|
private:
|
|
static ResourceLocation BOAT_LOCATIONS[6];
|
|
|
|
protected:
|
|
Model *model;
|
|
public:
|
|
BoatRenderer();
|
|
|
|
static bool s_secondPass;
|
|
|
|
virtual void render(shared_ptr<Entity> boat, double x, double y, double z, float rot, float a);
|
|
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
|
|
virtual void postRender(shared_ptr<Entity> entity, double x, double y, double z, float rot, float a, bool bRenderPlayerShadow);
|
|
};
|