28class DoorBlock :
public ::BlockType {
31 enum class DoorType :
int {
49 WaxedExposedCopper = 17,
50 WaxedWeatheredCopper = 18,
51 WaxedOxidizedCopper = 19,
59 ::ll::TypedStorage<4, 4, ::DoorBlock::DoorType> mType;
69 virtual int getVariant(
::Block const& block)
const ;
71 virtual ::Block
const* getNextBlockPermutation(
::Block const& currentBlock)
const ;
73 virtual ::AABB
const& getVisualShapeInWorld(
80 virtual ::AABB getCollisionShape(
87 virtual ::AABB
const& getOutline(
113 virtual bool isInteractiveBlock()
const ;
123 virtual bool isDoorBlock()
const ;
133 MCAPI DoorBlock(::std::string
const& nameId,
int id,
::Material const& material, ::DoorBlock::DoorType type);
144 MCAPI
float getDoorThickness()
const;
171 MCAPI
static void getDoorBlocks(
173 ::BlockType
const& expectedDoorBlockType,
179 MCAPI
static uchar getDoorFacing(
int facing);
185 MCAPI
void* $ctor(::std::string
const& nameId,
int id,
::Material const& material, ::DoorBlock::DoorType type);
191 MCAPI
int $getVariant(
::Block const& block)
const;
193 MCFOLD ::Block
const* $getNextBlockPermutation(
::Block const& currentBlock)
const;
195 MCAPI ::AABB
const& $getVisualShapeInWorld(
202 MCAPI ::AABB $getCollisionShape(
209 MCFOLD ::AABB
const& $getOutline(
231 MCFOLD
bool $isInteractiveBlock()
const;
239 MCFOLD
bool $isDoorBlock()
const;
251 MCAPI
static void** $vftable();