4jcraft/Minecraft.World/Items/EnderEyeItem.h
2026-03-21 16:39:12 -05:00

18 lines
677 B
C++

#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(std::shared_ptr<ItemInstance> itemInstance,
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);
};