Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CommandBlockManager Class Reference
Inheritance diagram for CommandBlockManager:

Public Member Functions

virtual void init ()
virtual bool setBlockTypeMode (::CommandBlockMode mode)
virtual bool setConditional (bool mode)
virtual bool setRedstone (bool mode)
virtual void saveAndExit ()
virtual::CommandBlockMode getCommandBlockTypeMode () const
virtual bool isConditionalMode () const
virtual bool isRedstoneMode () const
virtual bool getLastPerformedConditionalMode ()
virtual bool getLastPerformedRedstoneMode ()
virtual::CommandBlockMode getLastPerformedCBMode ()
virtual::BaseCommandBlock * getBaseCommandBlock ()
virtual ::std::unique_ptr<::CommandOrigin > getCommandOrigin () const
virtual bool isMinecartCommandBlock () const
MCAPI CommandBlockManager (::Player &player, ::BlockPos pos, ::ActorUniqueID entityUniqueID)
MCAPI void _loadFromEntity ()
MCAPI void * $ctor (::Player &player, ::BlockPos pos, ::ActorUniqueID entityUniqueID)
MCAPI void $init ()
MCAPI bool $setBlockTypeMode (::CommandBlockMode mode)
MCAPI bool $setConditional (bool mode)
MCAPI bool $setRedstone (bool mode)
MCAPI void $saveAndExit ()
MCAPI::CommandBlockMode $getCommandBlockTypeMode () const
MCAPI bool $isConditionalMode () const
MCAPI bool $isRedstoneMode () const
MCAPI bool $getLastPerformedConditionalMode ()
MCAPI bool $getLastPerformedRedstoneMode ()
MCAPI::CommandBlockMode $getLastPerformedCBMode ()
MCAPI::BaseCommandBlock * $getBaseCommandBlock ()
MCAPI ::std::unique_ptr<::CommandOrigin > $getCommandOrigin () const
MCAPI bool $isMinecartCommandBlock () const
virtual bool setCommand (::std::string const &command)
virtual bool setHoverName (::Bedrock::Safety::RedactableString const &name)
virtual bool setTickDelay (uint delay)
virtual bool setShouldExecuteOnFirstTick (bool shouldExecute)
virtual bool setLastOutput (::std::string const &lastOutput)
virtual bool setTrackOutput (bool trackOutput)
virtual::std::string const & getCommand () const
virtual::std::string const & getOutput () const
virtual bool getTrackOutput () const
virtual::Bedrock::Safety::RedactableString const & getHoverName () const
virtual uint getTickDelay () const
virtual bool shouldExecuteOnFirstTick () const
MCAPI void _loadFromBaseCommandBlock ()
MCAPI void _saveToBaseCommandBlock (::BaseCommandBlock &baseCommandBlock)
MCAPI bool $setCommand (::std::string const &command)
MCAPI bool $setHoverName (::Bedrock::Safety::RedactableString const &name)
MCAPI bool $setTickDelay (uint delay)
MCAPI bool $setShouldExecuteOnFirstTick (bool shouldExecute)
MCAPI bool $setLastOutput (::std::string const &lastOutput)
MCAPI bool $setTrackOutput (bool trackOutput)
MCAPI::std::string const & $getCommand () const
MCAPI::std::string const & $getOutput () const
MCAPI bool $getTrackOutput () const
MCAPI::Bedrock::Safety::RedactableString const & $getHoverName () const
MCAPI uint $getTickDelay () const
MCAPI bool $shouldExecuteOnFirstTick () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 2, 2, ::CommandBlockMode > mCBMode
::ll::TypedStorage< 1, 1, bool > mIsConditionalMode
::ll::TypedStorage< 1, 1, bool > mIsRedstoneMode
::ll::TypedStorage< 8, 8, ::Player & > mPlayer
::ll::TypedStorage< 4, 12, ::BlockPos > mBlockPos
::ll::TypedStorage< 8, 8, ::ActorUniqueID > mActorUniqueId
::ll::TypedStorage< 8, 32, ::std::string > mCommand
::ll::TypedStorage< 8, 32, ::std::string > mLastOutput
::ll::TypedStorage< 8, 72, ::Bedrock::Safety::RedactableString > mHoverName
::ll::TypedStorage< 4, 4, uint > mTickDelay
::ll::TypedStorage< 1, 1, bool > mExecuteOnFirstTick
::ll::TypedStorage< 1, 1, bool > mTrackOutput

Constructor & Destructor Documentation

◆ CommandBlockManager()

MCAPI CommandBlockManager::CommandBlockManager ( ::Player & player,
::BlockPos pos,
::ActorUniqueID entityUniqueID )
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

◆ init()

virtual void CommandBlockManager::init ( )
virtual

Reimplemented from MinecartCommandBlockManager.

◆ setBlockTypeMode()

virtual bool CommandBlockManager::setBlockTypeMode ( ::CommandBlockMode mode)
virtual

Reimplemented from MinecartCommandBlockManager.

◆ setConditional()

virtual bool CommandBlockManager::setConditional ( bool mode)
virtual

Reimplemented from MinecartCommandBlockManager.

◆ setRedstone()

virtual bool CommandBlockManager::setRedstone ( bool mode)
virtual

Reimplemented from MinecartCommandBlockManager.

◆ saveAndExit()

virtual void CommandBlockManager::saveAndExit ( )
virtual

Reimplemented from MinecartCommandBlockManager.

◆ isConditionalMode()

virtual bool CommandBlockManager::isConditionalMode ( ) const
virtual

Reimplemented from MinecartCommandBlockManager.

◆ isRedstoneMode()

virtual bool CommandBlockManager::isRedstoneMode ( ) const
virtual

Reimplemented from MinecartCommandBlockManager.

◆ getLastPerformedConditionalMode()

virtual bool CommandBlockManager::getLastPerformedConditionalMode ( )
virtual

Reimplemented from MinecartCommandBlockManager.

◆ getLastPerformedRedstoneMode()

virtual bool CommandBlockManager::getLastPerformedRedstoneMode ( )
virtual

Reimplemented from MinecartCommandBlockManager.

◆ isMinecartCommandBlock()

virtual bool CommandBlockManager::isMinecartCommandBlock ( ) const
virtual

Reimplemented from MinecartCommandBlockManager.

◆ _loadFromEntity()

MCAPI void CommandBlockManager::_loadFromEntity ( )
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.

◆ $ctor()

MCAPI void * CommandBlockManager::$ctor ( ::Player & player,
::BlockPos pos,
::ActorUniqueID entityUniqueID )
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.

◆ $init()

MCAPI void CommandBlockManager::$init ( )
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.

◆ $setBlockTypeMode()

MCAPI bool CommandBlockManager::$setBlockTypeMode ( ::CommandBlockMode mode)
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.

◆ $setConditional()

MCAPI bool CommandBlockManager::$setConditional ( bool mode)
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.

◆ $setRedstone()

MCAPI bool CommandBlockManager::$setRedstone ( bool mode)
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.

◆ $saveAndExit()

MCAPI void CommandBlockManager::$saveAndExit ( )
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.

◆ $getCommandBlockTypeMode()

MCAPI::CommandBlockMode CommandBlockManager::$getCommandBlockTypeMode ( ) 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.

◆ $isConditionalMode()

MCAPI bool CommandBlockManager::$isConditionalMode ( ) 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.

◆ $isRedstoneMode()

MCAPI bool CommandBlockManager::$isRedstoneMode ( ) 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.

◆ $getLastPerformedConditionalMode()

MCAPI bool CommandBlockManager::$getLastPerformedConditionalMode ( )
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.

◆ $getLastPerformedRedstoneMode()

MCAPI bool CommandBlockManager::$getLastPerformedRedstoneMode ( )
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.

◆ $getLastPerformedCBMode()

MCAPI::CommandBlockMode CommandBlockManager::$getLastPerformedCBMode ( )
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.

◆ $getBaseCommandBlock()

MCAPI::BaseCommandBlock * CommandBlockManager::$getBaseCommandBlock ( )
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.

◆ $getCommandOrigin()

MCAPI ::std::unique_ptr<::CommandOrigin > CommandBlockManager::$getCommandOrigin ( ) 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.

◆ $isMinecartCommandBlock()

MCAPI bool CommandBlockManager::$isMinecartCommandBlock ( ) 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.

◆ _loadFromBaseCommandBlock()

MCAPI void MinecartCommandBlockManager::_loadFromBaseCommandBlock ( )
inherited
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.

◆ _saveToBaseCommandBlock()

MCAPI void MinecartCommandBlockManager::_saveToBaseCommandBlock ( ::BaseCommandBlock & baseCommandBlock)
inherited
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()

MCAPI bool MinecartCommandBlockManager::$setCommand ( ::std::string const & command)
inherited
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.

◆ $setHoverName()

MCAPI bool MinecartCommandBlockManager::$setHoverName ( ::Bedrock::Safety::RedactableString const & name)
inherited
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.

◆ $setTickDelay()

MCAPI bool MinecartCommandBlockManager::$setTickDelay ( uint delay)
inherited
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.

◆ $setShouldExecuteOnFirstTick()

MCAPI bool MinecartCommandBlockManager::$setShouldExecuteOnFirstTick ( bool shouldExecute)
inherited
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 bool MinecartCommandBlockManager::$setLastOutput ( ::std::string const & lastOutput)
inherited
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.

◆ $setTrackOutput()

MCAPI bool MinecartCommandBlockManager::$setTrackOutput ( bool trackOutput)
inherited
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.

◆ $getCommand()

MCAPI::std::string const & MinecartCommandBlockManager::$getCommand ( ) const
inherited
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.

◆ $getOutput()

MCAPI::std::string const & MinecartCommandBlockManager::$getOutput ( ) const
inherited
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.

◆ $getTrackOutput()

MCAPI bool MinecartCommandBlockManager::$getTrackOutput ( ) const
inherited
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.

◆ $getHoverName()

MCAPI::Bedrock::Safety::RedactableString const & MinecartCommandBlockManager::$getHoverName ( ) const
inherited
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.

◆ $getTickDelay()

MCAPI uint MinecartCommandBlockManager::$getTickDelay ( ) const
inherited
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.

◆ $shouldExecuteOnFirstTick()

MCAPI bool MinecartCommandBlockManager::$shouldExecuteOnFirstTick ( ) const
inherited
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.

◆ $vftable()

MCAPI void ** MinecartCommandBlockManager::$vftable ( )
staticinherited
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 files: