aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/EnderpearlItem.h
blob: 84913b9ecb038053a13593d6baf3efb8e2ec6705 (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(Level *level, shared_ptr<Player> player);
};