3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/level/block/ActorBlockBase.h"
7#include "mc/world/level/block/BlockType.h"
8#include "mc/world/level/block/CommandBlockMode.h"
29 ::ll::TypedStorage<2, 2, ::CommandBlockMode> mCBMode;
35 virtual bool isInteractiveBlock()
const ;
37 virtual ::Block
const&
38 getPlacementBlock(
::Actor const& by,
::BlockPos const& pos, uchar face,
::Vec3 const& clickPos,
int itemValue)
const
41 virtual uchar getMappedFace(uchar face,
::Block const& block)
const ;
46 virtual bool canInstatick()
const ;
50 virtual int getVariant(
::Block const& block)
const ;
52 virtual bool hasComparatorSignal()
const ;
61 MCAPI
bool _executeChainBlock(
87 MCNAPI static ::std::add_lvalue_reference_t<int[]>
mCBModeMap();
Definition BlockActor.h:30
Definition BlockPlayerInteractEvent.h:18
Definition BlockQueuedTickEvent.h:16
Definition BlockRedstoneUpdateEvent.h:15
Definition BlockSource.h:72
Definition CommandBlockActor.h:22
Definition CommandBlock.h:25
MCAPI int $getVariant(::Block const &block) const
MCAPI::Block const & $getPlacementBlock(::Actor const &by, ::BlockPos const &pos, uchar face, ::Vec3 const &clickPos, int itemValue) const
MCAPI bool $hasComparatorSignal() const
MCAPI bool $canInstatick() const
MCAPI bool $isInteractiveBlock() const
MCAPI void $neighborChanged(::BlockSource ®ion, ::BlockPos const &pos, ::BlockPos const &neighborPos) const
MCAPI uchar $getMappedFace(uchar face, ::Block const &block) const
static MCAPI void ** $vftable()
MCAPI int $getComparatorSignal(::BlockSource ®ion, ::BlockPos const &pos, ::Block const &block, uchar dir) const
MCAPI::ItemInstance $asItemInstance(::Block const &, ::BlockActor const *) const
MCAPI void tick(::BlockEvents::BlockQueuedTickEvent &eventData) const
static MCAPI ::std::add_lvalue_reference_t< int[]> mCBModeMap()
MCAPI void updateBlock(::BlockSource ®ion, ::BlockPos const &pos, ::CommandBlockMode newMode, bool conditional) const
MCAPI void use(::BlockEvents::BlockPlayerInteractEvent &eventData) const
static MCAPI void _executeChain(::BlockSource ®ion, ::BlockPos const &pos)
MCAPI void _onRedstoneUpdate(::BlockEvents::BlockRedstoneUpdateEvent &blockEvent) const
Definition ItemInstance.h:15