Files
MinecraftConsoles/Minecraft.World/EnderEyeItem.h

13 lines
508 B
C
Raw Normal View History

2026-03-01 12:16:08 +08:00
#pragma once
#include "Item.h"
class EnderEyeItem : public Item
{
public:
EnderEyeItem(int id);
virtual bool useOn(std::shared_ptr<ItemInstance> instance, std::shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly=false);
virtual bool TestUse(Level *level, std::shared_ptr<Player> player);
virtual std::shared_ptr<ItemInstance> use(std::shared_ptr<ItemInstance> instance, Level *level, std::shared_ptr<Player> player);
2026-03-01 12:16:08 +08:00
};