#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 boat, double x, double y, double z, float rot, float a); virtual ResourceLocation *getTextureLocation(shared_ptr mob); virtual void postRender(shared_ptr entity, double x, double y, double z, float rot, float a, bool bRenderPlayerShadow); };