mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-26 12:48:11 +05:00
19 lines
438 B
C++
19 lines
438 B
C++
#pragma once
|
|
#include "EntityRenderer.h"
|
|
|
|
class LeashKnotModel;
|
|
|
|
class LeashKnotRenderer : public EntityRenderer
|
|
{
|
|
private:
|
|
static ResourceLocation KNOT_LOCATION;
|
|
LeashKnotModel *model;
|
|
|
|
public:
|
|
LeashKnotRenderer();
|
|
~LeashKnotRenderer();
|
|
virtual void render(shared_ptr<Entity> entity, double x, double y, double z, float rot, float a);
|
|
|
|
protected:
|
|
virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> entity);
|
|
}; |