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
This commit is contained in:
25
source/Items/ItemBrewingStand.h
Normal file
25
source/Items/ItemBrewingStand.h
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "ItemHandler.h"
|
||||
|
||||
class cItemBrewingStandHandler : public cItemHandler
|
||||
{
|
||||
public:
|
||||
cItemBrewingStandHandler(int a_ItemType)
|
||||
: cItemHandler(a_ItemType)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
virtual bool IsPlaceable() override
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual BLOCKTYPE GetBlockType() override
|
||||
{
|
||||
return E_BLOCK_BREWING_STAND;
|
||||
}
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user