Files
MinecraftConsoles/Minecraft.World/EnderpearlItem.h

13 lines
318 B
C
Raw Normal View History

2026-03-01 12:16:08 +08:00
#pragma once
#include "Item.h"
class EnderpearlItem : public Item
{
public:
EnderpearlItem(int id);
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
// 4J added
virtual bool TestUse(Level *level, std::shared_ptr<Player> player);
2026-03-01 12:16:08 +08:00
};