20class BaseCommandBlock {
24 ::ll::TypedStorage<8, 32, ::std::string> mLastOutputId;
25 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mLastOutputParams;
26 ::ll::TypedStorage<8, 32, ::std::string> mCommand;
27 ::ll::TypedStorage<8, 72, ::Bedrock::Safety::RedactableString> mName;
28 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Command>> mCompiledCommand;
29 ::ll::TypedStorage<8, 8, uint64> mLastExecution;
30 ::ll::TypedStorage<4, 4, int> mVersion;
31 ::ll::TypedStorage<4, 4, int> mSuccessCount;
32 ::ll::TypedStorage<4, 4, int> mTickDelay;
33 ::ll::TypedStorage<1, 1, bool> mExecuteOnFirstTick;
34 ::ll::TypedStorage<1, 1, bool> mTrackOutput;
39 BaseCommandBlock& operator=(BaseCommandBlock
const&);
40 BaseCommandBlock(BaseCommandBlock
const&);
45 MCAPI BaseCommandBlock();
53 MCFOLD ::std::string
const& getCommand()
const;
55 MCAPI ::std::string getLastOutput()
const;
57 MCAPI ::Bedrock::Safety::RedactableString
const& getName()
const;
60 MCFOLD ::Bedrock::Safety::RedactableString
const& getRawName()
const;
63 MCFOLD
int getTickDelay()
const;
65 MCAPI
bool getTrackOutput()
const;
69 MCAPI ::BaseCommandBlock& operator=(::BaseCommandBlock&&);
79 MCAPI
void setLastOutput(::std::string
const& lastOutput, ::std::vector<::std::string>
const& params);
83 MCFOLD
void setShouldExecuteOnFirstTick(
bool shouldExecute);
85 MCAPI
void setTickDelay(
int tickDelay);
87 MCAPI
void setTrackOutput(
bool trackOutput);
89 MCFOLD
bool shouldExecuteOnFirstTick()
const;
91 MCAPI ~BaseCommandBlock();
97 MCAPI static ::Bedrock::Safety::RedactableString
const& DefaultCommandBlockName();