3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/world/level/ShapeType.h"
8#include "mc/world/level/block/BlockSupportType.h"
9#include "mc/world/level/block/BlockType.h"
10#include "mc/world/level/block/WallConnectionType.h"
33 virtual ::Block
const&
34 getPlacementBlock(
::Actor const& by,
::BlockPos const& pos, uchar face,
::Vec3 const& clickPos,
int itemValue)
const
46 virtual ::AABB getCollisionShape(
53 virtual ::AABB
const& getOutline(
60 virtual bool canProvideSupport(
::Block const&, uchar face, ::BlockSupportType type)
const ;
62 virtual bool isWallBlock()
const ;
66 virtual ::HitResult clip(
72 ::ShapeType shapeType,
83 MCAPI ::WallConnectionType
155 ::ShapeType shapeType,
Definition BaseGameVersion.h:8
Definition BlockPlaceEvent.h:16
Definition BlockQueuedTickEvent.h:16
Definition BlockSource.h:72
Definition GetCollisionShapeInterface.h:13
Definition HitResult.h:18
Definition IConstBlockSource.h:25
Definition WallBlock.h:29
MCAPI bool $canProvideSupport(::Block const &, uchar face, ::BlockSupportType type) const
MCAPI::Block const * $playerWillDestroy(::Player &player, ::BlockPos const &pos, ::Block const &block) const
static MCAPI ::BaseGameVersion const & WALL_DOESNT_BREAK_FALLING_BLOCK_VERSION()
MCAPI void $onStructureBlockPlace(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI bool _tryAddToTickingQueue(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI void tick(::BlockEvents::BlockQueuedTickEvent &eventData) const
MCAPI bool $isWallBlock() const
MCAPI::HitResult $clip(::Block const &block, ::BlockSource const ®ion, ::BlockPos const &pos, ::Vec3 const &A, ::Vec3 const &B, ::ShapeType shapeType, ::optional_ref<::GetCollisionShapeInterface const > entity) const
MCAPI::Block const & $getPlacementBlock(::Actor const &by, ::BlockPos const &pos, uchar face, ::Vec3 const &clickPos, int itemValue) const
static MCAPI void ** $vftable()
MCAPI bool $breaksFallingBlocks(::Block const &block, ::BaseGameVersion const version) const
MCAPI void $neighborChanged(::BlockSource ®ion, ::BlockPos const &pos, ::BlockPos const &neighborPos) const
MCAPI void onPlaceBase(::BlockEvents::BlockPlaceEvent &eventData) const
MCAPI::AABB $getCollisionShape(::Block const &block, ::IConstBlockSource const ®ion, ::BlockPos const &pos, ::optional_ref<::GetCollisionShapeInterface const >) const
MCAPI::AABB const & $getOutline(::Block const &block, ::IConstBlockSource const ®ion, ::BlockPos const &pos, ::AABB &bufferValue) const
MCAPI::AABB const & $getVisualShapeInWorld(::Block const &block, ::IConstBlockSource const &, ::BlockPos const &, ::AABB &bufferAABB) const
Definition optional_ref.h:10