3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/world/level/block/BlockType.h"
29 virtual ::AABB getCollisionShape(
36 virtual ::AABB
const& getVisualShape(
::Block const& block,
::AABB& bufferAABB)
const ;
38 virtual bool isInteractiveBlock()
const ;
40 virtual bool isLeverBlock()
const ;
42 virtual bool canSpawnOn(
::Actor*)
const ;
48 virtual ::Block
const&
49 getPlacementBlock(
::Actor const& by,
::BlockPos const& pos, uchar face,
::Vec3 const& clickPos,
int itemValue)
const
62 virtual void _addHardCodedBlockComponents(
::Experiments const&) ;
82 MCFOLD ::AABB $getCollisionShape(
89 MCAPI ::AABB
const& $getVisualShape(
::Block const& block,
::AABB& bufferAABB)
const;
91 MCFOLD
bool $isInteractiveBlock()
const;
93 MCFOLD
bool $isLeverBlock()
const;
95 MCFOLD
bool $canSpawnOn(
::Actor*)
const;
101 MCAPI ::Block
const& $getPlacementBlock(
117 MCAPI
void $_addHardCodedBlockComponents(
::Experiments const&);
127 MCAPI
static void** $vftable();
Definition BlockPlayerInteractEvent.h:17
Definition BlockQueuedTickEvent.h:16
Definition BlockSource.h:68
Definition Experiments.h:14
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:25
Definition LeverBlock.h:25
Definition optional_ref.h:10