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

Public Member Functions

MCAPI void addAdditionalSaveData (::CompoundTag &entityTag) const
MCAPI void initFromDefinition (::Actor &owner)
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 setLastOutput (::Actor &owner, ::std::string const &lastOutput)

Public Attributes

::ll::TypedStorage< 8, 192, ::BaseCommandBlock > mBaseCommandBlock
::ll::TypedStorage< 4, 4, int > mCurrentTickCount
::ll::TypedStorage< 1, 1, bool > mTicking

Member Function Documentation

◆ addAdditionalSaveData()

MCAPI void CommandBlockComponent::addAdditionalSaveData ( ::CompoundTag & entityTag) 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.

◆ initFromDefinition()

MCAPI void CommandBlockComponent::initFromDefinition ( ::Actor & owner)
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.

◆ onCommandBlockUpdate()

MCAPI void CommandBlockComponent::onCommandBlockUpdate ( ::Actor & owner,
::std::string const & command,
bool trackOutput,
::Bedrock::Safety::RedactableString const & name,
int tickDelay,
bool executeOnFirstTick )
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.

◆ readAdditionalSaveData()

MCAPI void CommandBlockComponent::readAdditionalSaveData ( ::Actor & owner,
::CompoundTag const & entityTag,
::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.

◆ setLastOutput()

MCAPI void CommandBlockComponent::setLastOutput ( ::Actor & owner,
::std::string const & lastOutput )
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: