3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/world/Direction.h"
8#include "mc/world/level/block/BlockType.h"
28class DoorBlock :
public ::BlockType {
31 enum class DoorType :
int {
49 WaxedExposedCopper = 17,
50 WaxedWeatheredCopper = 18,
51 WaxedOxidizedCopper = 19,
60 ::ll::TypedStorage<4, 4, ::DoorBlock::DoorType> mType;
70 virtual int getVariant(
::Block const& block)
const ;
72 virtual ::Block
const* getNextBlockPermutation(
::Block const& currentBlock)
const ;
74 virtual ::AABB
const& getVisualShapeInWorld(
81 virtual ::AABB getCollisionShape(
88 virtual ::AABB
const& getOutline(
114 virtual bool isInteractiveBlock()
const ;
132 MCNAPI
DoorBlock(::std::string
const& nameId,
int id,
::Material const& material, ::DoorBlock::DoorType type);
155 MCAPI
static void getDoorBlocks(
157 ::BlockType
const& expectedDoorBlockType,
167 MCNAPI
void*
$ctor(::std::string
const& nameId,
int id,
::Material const& material, ::DoorBlock::DoorType type);
231 MCAPI
static void** $vftable();
Definition BlockActor.h:30
Definition BlockPlayerInteractEvent.h:18
Definition BlockQueuedTickEvent.h:16
Definition BlockRedstoneUpdateEvent.h:15
Definition BlockSource.h:72
MCAPI int $getVariant(::Block const &block) const
MCAPI bool $canSurvive(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI void $_onHitByActivatingAttack(::BlockSource ®ion, ::BlockPos const &pos, ::Actor *) const
MCAPI void _onRedstoneUpdate(::BlockEvents::BlockRedstoneUpdateEvent &blockEvent) const
MCAPI void use(::BlockEvents::BlockPlayerInteractEvent &eventData) const
MCAPI bool $checkIsPathable(::Actor &entity, ::BlockPos const &lastPathPos, ::BlockPos const &pathPos) const
MCAPI::AABB const & $getVisualShapeInWorld(::Block const &, ::IConstBlockSource const ®ion, ::BlockPos const &pos, ::AABB &bufferAABB) const
MCAPI void tick(::BlockEvents::BlockQueuedTickEvent &eventData) const
static MCAPI void _onSetupRedstoneComponent(::BlockSource ®ion, ::BlockPos const &pos)
MCAPI::Block const * $getNextBlockPermutation(::Block const ¤tBlock) const
MCAPI DoorBlock(::std::string const &nameId, int id, ::Material const &material, ::DoorBlock::DoorType type)
MCAPI bool $canFillAtPos(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &fillBlock) const
MCAPI::AABB const & $getOutline(::Block const &block, ::IConstBlockSource const ®ion, ::BlockPos const &pos, ::AABB &bufferValue) const
MCAPI bool $getLiquidClipVolume(::Block const &block, ::BlockSource ®ion, ::BlockPos const &pos, ::AABB &includeBox) const
MCAPI bool $getSecondPart(::IConstBlockSource const ®ion, ::BlockPos const &pos, ::BlockPos &out) const
MCAPI bool $mayPlace(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI::AABB $getCollisionShape(::Block const &block, ::IConstBlockSource const ®ion, ::BlockPos const &pos, ::optional_ref<::GetCollisionShapeInterface const >) const
MCAPI void * $ctor(::std::string const &nameId, int id, ::Material const &material, ::DoorBlock::DoorType type)
MCAPI void $_useDoor(::BlockEvents::BlockPlayerInteractEvent &eventData) const
MCAPI bool $isInteractiveBlock() const
MCAPI::ItemInstance $asItemInstance(::Block const &block, ::BlockActor const *) const
MCAPI::Block const * $playerWillDestroy(::Player &player, ::BlockPos const &pos, ::Block const &block) const
MCAPI void $neighborChanged(::BlockSource ®ion, ::BlockPos const &pos, ::BlockPos const &neighborPos) const
MCAPI void $onFillBlock(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &block) const
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:25
Definition ItemInstance.h:15
Definition optional_ref.h:10