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/BlockType.h"
32 virtual ::AABB getCollisionShape(
43 virtual bool addCollisionShapes(
47 ::AABB const* intersectTestBox,
48 ::std::vector<::AABB>& inoutBoxes,
55 virtual ::std::string buildDescriptionId(
::Block const& block)
const ;
57 virtual bool isFenceBlock()
const ;
63 virtual ::HitResult clip(
69 ::ShapeType shapeType,
78 ::std::vector<::BlockPos>& outNeighbors,
121 ::AABB const* intersectTestBox,
122 ::std::vector<::AABB>& inoutBoxes,
142 ::ShapeType shapeType,
Definition BaseGameVersion.h:8
Definition BlockSource.h:72
Definition FenceBlock.h:24
MCAPI::AABB $getCollisionShape(::Block const &block, ::IConstBlockSource const &, ::BlockPos const &pos, ::optional_ref<::GetCollisionShapeInterface const >) const
MCAPI::Block const * $playerWillDestroy(::Player &player, ::BlockPos const &pos, ::Block const &block) const
static MCAPI ::BlockType::HorizontalDirectionBits getConnectionsFromState(::Block const &block)
MCAPI bool $addCollisionShapes(::Block const &block, ::IConstBlockSource const ®ion, ::BlockPos const &pos, ::AABB const *intersectTestBox, ::std::vector<::AABB > &inoutBoxes, ::optional_ref<::GetCollisionShapeInterface const > entity) 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
static MCAPI void ** $vftable()
MCAPI bool $isFenceBlock() const
MCAPI bool $mayPlace(::BlockSource ®ion, ::BlockPos const &pos) const
MCAPI::AABB const & $getOutline(::Block const &block, ::IConstBlockSource const &, ::BlockPos const &pos, ::AABB &bufferValue) const
MCAPI::std::string $buildDescriptionId(::Block const &block) const
MCAPI::AABB const & $getVisualShapeInWorld(::Block const &block, ::IConstBlockSource const &, ::BlockPos const &, ::AABB &bufferAABB) const
MCAPI void fetchPathableNeighbors(::std::vector<::BlockPos > &outNeighbors, ::BlockSource ®ion, ::BlockPos const &pos, ::Vec3 const &entityPos) const
MCAPI bool $breaksFallingBlocks(::Block const &block, ::BaseGameVersion const version) const
static MCAPI ::BaseGameVersion const & FENCE_DOESNT_BREAK_FALLING_BLOCK_VERSION()
Definition GetCollisionShapeInterface.h:13
Definition HitResult.h:18
Definition IConstBlockSource.h:25
Definition optional_ref.h:10