Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BaseCommandBlock Class Reference

Public Member Functions

BaseCommandBlock & operator= (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 performCommand (::BlockSource &region, ::ActorUniqueID const &minecartId)
MCAPI bool save (::CompoundTag &tag) const
MCAPI void setCommand (::BlockSource &region, ::ActorUniqueID const &entityId, ::std::string const &command)
MCAPI void setCommand (::BlockSource &region, ::BlockPos const &pos, ::std::string const &command)
MCAPI void setLastOutput (::std::string const &lastOutput, ::std::vector<::std::string > const &params)
MCAPI ~BaseCommandBlock ()
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::RedactableString > mName
::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

Constructor & Destructor Documentation

◆ ~BaseCommandBlock()

MCAPI BaseCommandBlock::~BaseCommandBlock ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ _setCommand()

MCAPI void BaseCommandBlock::_setCommand ( ::BlockSource & region,
::CommandOrigin const & origin,
::std::string const & command )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ compile()

MCAPI void BaseCommandBlock::compile ( ::CommandOrigin const & origin,
::Level & level )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getLastOutput()

MCAPI::std::string BaseCommandBlock::getLastOutput ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ load()

MCAPI void BaseCommandBlock::load ( ::CompoundTag const & tag,
::DataLoadHelper & dataLoadHelper )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ operator=()

MCAPI::BaseCommandBlock & BaseCommandBlock::operator= ( ::BaseCommandBlock && )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ save()

MCAPI bool BaseCommandBlock::save ( ::CompoundTag & tag) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setCommand() [1/2]

MCAPI void BaseCommandBlock::setCommand ( ::BlockSource & region,
::ActorUniqueID const & entityId,
::std::string const & command )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setCommand() [2/2]

MCAPI void BaseCommandBlock::setCommand ( ::BlockSource & region,
::BlockPos const & pos,
::std::string const & command )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setLastOutput()

MCAPI void BaseCommandBlock::setLastOutput ( ::std::string const & lastOutput,
::std::vector<::std::string > const & params )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ DefaultCommandBlockName()

MCAPI ::Bedrock::Safety::RedactableString const & BaseCommandBlock::DefaultCommandBlockName ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void BaseCommandBlock::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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