24class CommandBlockActor :
public ::BlockActor {
28 ::ll::TypedStorage<8, 192, ::BaseCommandBlock> mBaseCB;
29 ::ll::TypedStorage<1, 1, bool> mPowered;
30 ::ll::TypedStorage<1, 1, bool> mConditionMet;
31 ::ll::TypedStorage<1, 1, bool> mRedstoneMode;
32 ::ll::TypedStorage<1, 1, bool> mLastPerformedConditionalMode;
33 ::ll::TypedStorage<1, 1, bool> mLastPerformedRedstoneMode;
34 ::ll::TypedStorage<1, 1, bool> mExecuteFirstTickOnPlace;
35 ::ll::TypedStorage<2, 2, ::CommandBlockMode> mLastPerformedCBMode;
60 virtual ::Bedrock::Safety::RedactableString
const& getCustomName()
const ;
64 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource& region) ;
68 virtual bool _playerCanUpdate(
::Player const& player)
const ;
70 virtual ~CommandBlockActor() =
default;
76 MCAPI CommandBlockActor(
::BlockPos const& pos, ::CommandBlockMode mode);
78 MCAPI
void _setAutomatic(
::BlockSource& region,
bool alwaysActive, ::CommandBlockMode currentMode);
80 MCAPI ::CommandBlock
const* getCommandBlock(
::BlockSource& region)
const;
88 MCAPI
void updateBlock(
90 ::std::string
const& cmd,
92 ::CommandBlockMode newMode,
104 MCAPI
void* $ctor(
::BlockPos const& pos, ::CommandBlockMode mode);
124 MCFOLD ::Bedrock::Safety::RedactableString
const& $getCustomName()
const;
128 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource& region);
132 MCAPI
bool $_playerCanUpdate(
::Player const& player)
const;
140 MCAPI
static void** $vftable();
Definition SaveContext.h:5