aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/BottleItem.h
blob: 95423c090707b8eab71c997943b9761ee1a85c43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "Item.h"

class Icon;

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

	//@Override
	Icon *getIcon(int auxValue);

	virtual shared_ptr<ItemInstance> use(shared_ptr<ItemInstance> itemInstance, Level *level, shared_ptr<Player> player);
	virtual bool TestUse(shared_ptr<ItemInstance> itemInstance, Level *level, shared_ptr<Player> player);

	//@Override
	void registerIcons(IconRegister *iconRegister);
};