aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/HoeItem.h
blob: a4d015ac9701647ea8fa317b82779962aa885fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
using namespace std;

#include "Item.h"

class Player;

class HoeItem : public Item
{
protected:
	const Tier *tier;
public:
	HoeItem(int id, const Tier *tier);

	virtual bool useOn(shared_ptr<ItemInstance> instance, 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 isHandEquipped();

	const Tier *getTier();
};