4jcraft/Minecraft.Client/Rendering/EntityRenderers/LeashKnotRenderer.h
2026-03-21 22:28:58 -05:00

20 lines
490 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(std::shared_ptr<Entity> entity, double x, double y,
double z, float rot, float a);
protected:
virtual ResourceLocation* getTextureLocation(
std::shared_ptr<Entity> entity);
};