4561b2c22f
Cauldrons can be filled with water and used to fill bottles git-svn-id: http://mc-server.googlecode.com/svn/trunk@1116 0a769ca7-a7f5-676a-18bf-c427514a06d6
33 lines
445 B
C++
33 lines
445 B
C++
|
|
#pragma once
|
|
|
|
#include "BlockHandler.h"
|
|
|
|
|
|
|
|
|
|
|
|
class cBlockBrewingStandHandler :
|
|
public cBlockHandler
|
|
{
|
|
public:
|
|
cBlockBrewingStandHandler(BLOCKTYPE a_BlockType)
|
|
: cBlockHandler(a_BlockType)
|
|
{
|
|
}
|
|
|
|
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
|
|
{
|
|
a_Pickups.push_back(cItem(E_ITEM_BREWING_STAND, 1, 0));
|
|
}
|
|
|
|
virtual bool IsUseable() override
|
|
{
|
|
return true;
|
|
}
|
|
} ;
|
|
|
|
|
|
|
|
|