the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include "item.h"
4
5class HangingEntity;
6
7class HangingEntityItem : public Item
8{
9private:
10 //final Class<? extends HangingEntity> clazz;
11 eINSTANCEOF eType;
12
13public:
14 HangingEntityItem(int id, eINSTANCEOF eClassType);
15
16 virtual bool useOn(shared_ptr<ItemInstance> instance, shared_ptr<Player> player, Level *level, int xt, int yt, int zt, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly);//, float clickX, float clickY, float clickZ);
17
18private:
19 shared_ptr<HangingEntity> createEntity(Level *level, int x, int y, int z, int dir, int auxValue); // 4J Stu added auxValue param
20
21public:
22 virtual void appendHoverText(shared_ptr<ItemInstance> itemInstance, shared_ptr<Player> player, vector<HtmlString> *lines, bool advanced);
23};