aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/EnderpearlItem.h
blob: 973f5284e27d34f814f48ecc7385f21368704a91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "Item.h"

class EnderpearlItem : public Item
{
public:
	EnderpearlItem(int id);

	virtual shared_ptr<ItemInstance> use(shared_ptr<ItemInstance> instance, Level *level, shared_ptr<Player> player);
	// 4J added
	virtual bool TestUse(shared_ptr<ItemInstance> instance, Level *level, shared_ptr<Player> player);
};