aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/LeashKnotRenderer.h
blob: 6eeca5744cb69696ca6481d16fa23dc1317a3204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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);
};