23class CommandBlockActor :
public ::VanillaBlockActor {
27 ::ll::TypedStorage<8, 192, ::BaseCommandBlock> mBaseCB;
28 ::ll::TypedStorage<1, 1, bool> mPowered;
29 ::ll::TypedStorage<1, 1, bool> mConditionMet;
30 ::ll::TypedStorage<1, 1, bool> mRedstoneMode;
31 ::ll::TypedStorage<1, 1, bool> mLastPerformedConditionalMode;
32 ::ll::TypedStorage<1, 1, bool> mLastPerformedRedstoneMode;
33 ::ll::TypedStorage<1, 1, bool> mExecuteFirstTickOnPlace;
34 ::ll::TypedStorage<2, 2, ::CommandBlockMode> mLastPerformedCBMode;
59 virtual ::Bedrock::Safety::RedactableString
const& getCustomName()
const ;
63 virtual ::std::unique_ptr<::BlockActorDataPacket> _getUpdatePacket(
::BlockSource& region) ;
67 virtual bool _playerCanUpdate(
::Player const& player)
const ;
73 MCAPI CommandBlockActor(
::BlockPos const& pos, ::CommandBlockMode mode);
76 MCAPI
void _setAutomatic(
::BlockSource& region,
bool alwaysActive, ::CommandBlockMode currentMode);
86 MCAPI
void setAutomatic(
::BlockSource& region,
bool automatic, ::CommandBlockMode oldMode);
89 MCAPI
void updateBlock(
91 ::std::string
const& cmd,
93 ::CommandBlockMode newMode,
105 MCAPI
void* $ctor(
::BlockPos const& pos, ::CommandBlockMode mode);
125 MCAPI ::Bedrock::Safety::RedactableString
const& $getCustomName()
const;
129 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource& region);
133 MCAPI
bool $_playerCanUpdate(
::Player const& player)
const;
Definition SaveContext.h:5