LeviLamina
Loading...
Searching...
No Matches
BaseCommandBlock Class Reference

Public Member Functions

BaseCommandBlockoperator= (BaseCommandBlock const &)
 BaseCommandBlock (BaseCommandBlock const &)
MCAPI bool _performCommand (::BlockSource &region, ::CommandOrigin const &origin, bool &markForSaving)
MCAPI void _setCommand (::BlockSource &region, ::CommandOrigin const &origin, ::std::string const &command)
MCAPI void compile (::CommandOrigin const &origin, ::Level &level)
MCAPI::std::string getLastOutput () const
MCAPI void load (::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
MCAPI::BaseCommandBlock & operator= (::BaseCommandBlock &&)
MCAPI bool save (::CompoundTag &tag) const
MCAPI_C void setCommand (::BlockSource &region, ::ActorUniqueID const &entityId, ::std::string const &command)
MCAPI void setLastOutput (::std::string const &lastOutput, ::std::vector<::std::string > const &params)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::Bedrock::Safety::RedactableString const & DefaultCommandBlockName ()

Public Attributes

::ll::TypedStorage< 8, 32, ::std::string > mLastOutputId
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mLastOutputParams
::ll::TypedStorage< 8, 32, ::std::string > mCommand
::ll::TypedStorage< 8, 72, ::Bedrock::Safety::RedactableStringmName
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Command > > mCompiledCommand
::ll::TypedStorage< 8, 8, uint64 > mLastExecution
::ll::TypedStorage< 4, 4, int > mVersion
::ll::TypedStorage< 4, 4, int > mSuccessCount
::ll::TypedStorage< 4, 4, int > mTickDelay
::ll::TypedStorage< 1, 1, bool > mExecuteOnFirstTick
::ll::TypedStorage< 1, 1, bool > mTrackOutput

The documentation for this class was generated from the following file: