1
0
cuberite-2a/source/Blocks/BlockBrewingStand.h
luksor111@gmail.com 4561b2c22f Cauldrons and Brewing Stands are now placeable
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
2012-12-29 11:49:00 +00:00

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;
}
} ;