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

Classes

class  ExecuteChainedSubcommand

Public Member Functions

virtual void execute (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI ::std::optional<::ScoreInfo > _getScoreFromSelectorOnObjective (::Scoreboard const &scoreboard, ::CommandSelector<::Actor > const &selector, ::std::string const &objectiveName, ::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void $execute (::CommandOrigin const &origin, ::CommandOutput &output) const
LLNDAPI std::string getCommandName () const
virtual bool collectOptionalArguments ()
MCAPI void run (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void sendTelemetry (::CommandOrigin const &origin, ::CommandOutput &output) const
MCFOLD bool $collectOptionalArguments ()

Static Public Member Functions

static MCAPI void setup (::CommandRegistry &registry, int newExecuteStartVersion)
static MCAPI bool isWildcard (::CommandSelectorBase const &selector)
static MCAPI bool shouldUseCommandOriginRotation (::CommandOrigin const &origin, int version)
static MCAPI bool validRange (int input, int low, int high, ::CommandOutput &output)
static MCAPI bool validRange (float input, float low, float high, ::CommandOutput &output)

Public Attributes

::ll::TypedStorage< 4, 4, ::NewExecuteCommand::ExecuteChainedSubcommand::Subcommand > mSubcommandOption
::ll::TypedStorage< 4, 4, ::NewExecuteCommand::ExecuteChainedSubcommand::Subcommand > mSecondarySubcommandOption
::ll::TypedStorage< 4, 4, ::NewExecuteCommand::ExecuteChainedSubcommand::ConditionSubcommand > mConditionSubcommandOption
::ll::TypedStorage< 8, 200, ::CommandSelector<::Actor > > mTargets
::ll::TypedStorage< 8, 200, ::CommandSelector<::Actor > > mSources
::ll::TypedStorage< 8, 32, ::std::string > mAxesAlignment
::ll::TypedStorage< 4, 4, ::SharedTypes::Legacy::ActorLocation > mActorLocation
::ll::TypedStorage< 4, 16, ::CommandPositionFloat > mPosition
::ll::TypedStorage< 4, 16, ::CommandPosition > mBlockPosition
::ll::TypedStorage< 4, 16, ::CommandPosition > mEndPosition
::ll::TypedStorage< 4, 16, ::CommandPosition > mDestination
::ll::TypedStorage< 4, 8, ::RelativeFloat > mRotationX
::ll::TypedStorage< 4, 8, ::RelativeFloat > mRotationY
::ll::TypedStorage< 4, 4, ::DimensionType > mTargetDimension
::ll::TypedStorage< 8, 8, ::CommandBlockName > mBlock
::ll::TypedStorage< 8, 24, ::std::vector<::BlockStateCommandParam > > mBlockStates
::ll::TypedStorage< 4, 4, int > mBlockData
::ll::TypedStorage< 4, 4, ::NewExecuteCommand::ExecuteChainedSubcommand::ScanMode > mScanMode
::ll::TypedStorage< 8, 32, ::std::string > mTargetScoreObjective
::ll::TypedStorage< 8, 32, ::std::string > mSourceScoreObjective
::ll::TypedStorage< 1, 1, ::CommandCompareOperator > mCompareOperator
::ll::TypedStorage< 4, 4, ::NewExecuteCommand::ExecuteChainedSubcommand::ScoreRangeMode > mRangeMode
::ll::TypedStorage< 4, 12, ::CommandIntegerRange > mRange
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::Command > > mCommand
::ll::TypedStorage< 8, 16, ::NewExecuteCommand::ExecuteChainedSubcommand > mChainedCommand
::ll::TypedStorage< 4, 4, int > mVersion
::ll::TypedStorage< 8, 8, ::CommandRegistry const * > mRegistry
::ll::TypedStorage< 4, 4, int > mCommandSymbol
::ll::TypedStorage< 1, 1, ::CommandPermissionLevel > mPermissionLevel
::ll::TypedStorage< 2, 2, ::CommandFlag > mFlags

Member Function Documentation

◆ execute()

virtual void NewExecuteCommand::execute ( ::CommandOrigin const & origin,
::CommandOutput & output ) const
virtual

Implements Command.

◆ _getScoreFromSelectorOnObjective()

MCAPI ::std::optional<::ScoreInfo > NewExecuteCommand::_getScoreFromSelectorOnObjective ( ::Scoreboard const & scoreboard,
::CommandSelector<::Actor > const & selector,
::std::string const & objectiveName,
::CommandOrigin const & origin,
::CommandOutput & output ) 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.

◆ $execute()

MCAPI void NewExecuteCommand::$execute ( ::CommandOrigin const & origin,
::CommandOutput & output ) 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.

◆ isWildcard()

MCAPI bool Command::isWildcard ( ::CommandSelectorBase const & selector)
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.

◆ shouldUseCommandOriginRotation()

MCAPI bool Command::shouldUseCommandOriginRotation ( ::CommandOrigin const & origin,
int version )
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.

◆ validRange()

MCAPI bool Command::validRange ( float input,
float low,
float high,
::CommandOutput & output )
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 file: