3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/level/block/actor/BaseCommandBlock.h"
21 ::ll::TypedStorage<8, 192, ::BaseCommandBlock> mBaseCommandBlock;
22 ::ll::TypedStorage<4, 4, int> mCurrentTickCount;
23 ::ll::TypedStorage<1, 1, bool> mTicking;
35 ::std::string
const& command,
39 bool executeOnFirstTick
48 MCNAPI
void setTrackOutput(
::Actor& owner,
bool trackOutput);
Definition BaseCommandBlock.h:20
Definition RedactableString.h:10
Definition CommandBlockComponent.h:17
MCAPI void setLastOutput(::Actor &owner, ::std::string const &lastOutput)
MCAPI void onCommandBlockUpdate(::Actor &owner, ::std::string const &command, bool trackOutput, ::Bedrock::Safety::RedactableString const &name, int tickDelay, bool executeOnFirstTick)
MCAPI void readAdditionalSaveData(::Actor &owner, ::CompoundTag const &entityTag, ::DataLoadHelper &dataLoadHelper)
MCAPI void initFromDefinition(::Actor &owner)
MCAPI void addAdditionalSaveData(::CompoundTag &entityTag) const
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20