24class CommandBlockActor :
public ::VanillaBlockActor {
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 ;
74 MCAPI CommandBlockActor(
::BlockPos const& pos, ::CommandBlockMode mode);
77 MCAPI
void _setAutomatic(
::BlockSource& region,
bool alwaysActive, ::CommandBlockMode currentMode);
80 MCAPI ::CommandBlock
const* getCommandBlock(
::BlockSource& region)
const;
85 MCAPI ::std::string getLastOutput()
const;
93 MCAPI
void setAutomatic(
::BlockSource& region,
bool automatic, ::CommandBlockMode oldMode);
96 MCAPI
void updateBlock(
98 ::std::string
const& cmd,
100 ::CommandBlockMode newMode,
105 bool executeFirstTick
112 MCAPI
void* $ctor(
::BlockPos const& pos, ::CommandBlockMode mode);
132 MCAPI ::Bedrock::Safety::RedactableString
const& $getCustomName()
const;
136 MCAPI ::std::unique_ptr<::BlockActorDataPacket> $_getUpdatePacket(
::BlockSource& region);
140 MCAPI
bool $_playerCanUpdate(
::Player const& player)
const;
Definition SaveContext.h:5