1
0
cuberite-2a/source/blocks/BlockCloth.h

24 lines
365 B
C++

#pragma once
#include "Block.h"
class cBlockClothHandler : public cBlockHandler
{
public:
cBlockClothHandler(BLOCKTYPE a_BlockID)
: cBlockHandler(a_BlockID)
{
}
virtual NIBBLETYPE GetDropMeta(NIBBLETYPE a_BlockMeta) override
{
return a_BlockMeta;
}
virtual AString GetStepSound(void) override
{
return "step.cloth";
}
};