first commit

This commit is contained in:
murdle
2026-03-01 02:38:58 +02:00
commit 19250b9db4
19111 changed files with 4358159 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#pragma once
#include "item.h"
class HangingEntity;
class HangingEntityItem : public Item
{
private:
//final Class<? extends HangingEntity> clazz;
eINSTANCEOF eType;
public:
HangingEntityItem(int id, eINSTANCEOF eClassType);
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);
private:
shared_ptr<HangingEntity> createEntity(Level *level, int x, int y, int z, int dir) ;
};