mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-21 17:23:56 +01:00
TU46 Test content, added missing commits by amending commit and cherry-picking to new branch, ready for iggy guis and tu46 bug fixes
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);
|
|
};
|