1
0
cuberite-2a/source/Items/ItemRedstoneRepeater.h
2012-10-18 19:41:29 +00:00

37 lines
467 B
C++

#pragma once
#include "ItemHandler.h"
class cItemRedstoneRepeaterHandler : public cItemHandler
{
public:
cItemRedstoneRepeaterHandler(int a_ItemType)
: cItemHandler(a_ItemType)
{
}
virtual bool IsPlaceable() override
{
return true;
}
virtual BLOCKTYPE GetBlockType() override
{
return ::E_BLOCK_REDSTONE_REPEATER_OFF;
}
virtual NIBBLETYPE GetBlockMeta(short a_ItemMeta) override
{
return 0;
}
} ;