aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/ExperienceOrbRenderer.h
blob: 68047b803bbdce1efddaa57e0a74e984d8759c08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once
#include "EntityRenderer.h"

class ExperienceOrbRenderer : public EntityRenderer
{
private:
	static ResourceLocation XP_ORB_LOCATION;

public:
	ExperienceOrbRenderer();

	virtual void render(shared_ptr<Entity> _orb, double x, double y, double z, float rot, float a);
	void blit(int x, int y, int sx, int sy, int w, int h);

	virtual ResourceLocation *getTextureLocation(shared_ptr<Entity> mob);
};