29class NewExecuteCommand :
public ::Command {
40 enum class ConditionSubcommand :
int {
48 enum class ScanMode :
int {
53 enum class ScoreRangeMode :
int {
58 enum class Subcommand :
int {
77 virtual ::std::string getCommandName()
const ;
83 MCAPI static ::std::string
84 getSubcommandName(::NewExecuteCommand::ExecuteChainedSubcommand::ConditionSubcommand subcommand);
86 MCAPI static ::std::string
87 getSubcommandName(::NewExecuteCommand::ExecuteChainedSubcommand::Subcommand subcommand);
95 MCAPI
static char const*& CHAINED_OPTION_0();
97 MCAPI
static char const*& CONDITION_SUBCOMMAND_OPTION_BLOCK();
99 MCAPI
static char const*& CONDITION_SUBCOMMAND_OPTION_BLOCKS();
101 MCAPI
static char const*& CONDITION_SUBCOMMAND_OPTION_ENTITY();
103 MCAPI
static char const*& CONDITION_SUBCOMMAND_OPTION_SCORE();
105 MCAPI
static char const*& SUBCOMMAND_ALIGN();
107 MCAPI
static char const*& SUBCOMMAND_ANCHORED();
109 MCAPI
static char const*& SUBCOMMAND_AS();
111 MCAPI
static char const*& SUBCOMMAND_AT();
113 MCAPI
static char const*& SUBCOMMAND_BLOCK();
115 MCAPI
static char const*& SUBCOMMAND_BLOCKS();
117 MCAPI
static char const*& SUBCOMMAND_ENTITY();
119 MCAPI
static char const*& SUBCOMMAND_FACING();
121 MCAPI
static char const*& SUBCOMMAND_IF();
123 MCAPI
static char const*& SUBCOMMAND_IN();
125 MCAPI
static char const*& SUBCOMMAND_OPTION_ALIGN();
127 MCAPI
static char const*& SUBCOMMAND_OPTION_ANCHORED();
129 MCAPI
static char const*& SUBCOMMAND_OPTION_AS();
131 MCAPI
static char const*& SUBCOMMAND_OPTION_AT();
133 MCAPI
static char const*& SUBCOMMAND_OPTION_ENTITY();
135 MCAPI
static char const*& SUBCOMMAND_OPTION_FACING();
137 MCAPI
static char const*& SUBCOMMAND_OPTION_IF_UNLESS();
139 MCAPI
static char const*& SUBCOMMAND_OPTION_IN();
141 MCAPI
static char const*& SUBCOMMAND_OPTION_POSITIONED();
143 MCAPI
static char const*& SUBCOMMAND_OPTION_ROTATED();
145 MCAPI
static char const*& SUBCOMMAND_OPTION_RUN();
147 MCAPI
static char const*& SUBCOMMAND_POSITIONED();
149 MCAPI
static char const*& SUBCOMMAND_ROTATED();
151 MCAPI
static char const*& SUBCOMMAND_RUN();
153 MCAPI
static char const*& SUBCOMMAND_SCORE();
155 MCAPI
static char const*& SUBCOMMAND_UNLESS();
161 MCAPI ::std::string $getCommandName()
const;
176 ::ll::TypedStorage<4, 4, ::NewExecuteCommand::ExecuteChainedSubcommand::Subcommand> mSubcommandOption;
177 ::ll::TypedStorage<4, 4, ::NewExecuteCommand::ExecuteChainedSubcommand::Subcommand> mSecondarySubcommandOption;
178 ::ll::TypedStorage<4, 4, ::NewExecuteCommand::ExecuteChainedSubcommand::ConditionSubcommand>
179 mConditionSubcommandOption;
180 ::ll::TypedStorage<8, 200, ::CommandSelector<::Actor>> mTargets;
181 ::ll::TypedStorage<8, 200, ::CommandSelector<::Actor>> mSources;
182 ::ll::TypedStorage<8, 32, ::std::string> mAxesAlignment;
183 ::ll::TypedStorage<4, 4, ::SharedTypes::Legacy::ActorLocation> mActorLocation;
184 ::ll::TypedStorage<4, 16, ::CommandPositionFloat> mPosition;
185 ::ll::TypedStorage<4, 16, ::CommandPosition> mBlockPosition;
186 ::ll::TypedStorage<4, 16, ::CommandPosition> mEndPosition;
187 ::ll::TypedStorage<4, 16, ::CommandPosition> mDestination;
188 ::ll::TypedStorage<4, 8, ::RelativeFloat> mRotationX;
189 ::ll::TypedStorage<4, 8, ::RelativeFloat> mRotationY;
190 ::ll::TypedStorage<4, 4, ::DimensionType> mTargetDimension;
191 ::ll::TypedStorage<8, 8, ::CommandBlockName> mBlock;
192 ::ll::TypedStorage<8, 24, ::std::vector<::BlockStateCommandParam>> mBlockStates;
193 ::ll::TypedStorage<4, 4, int> mBlockData;
194 ::ll::TypedStorage<4, 4, ::NewExecuteCommand::ExecuteChainedSubcommand::ScanMode> mScanMode;
195 ::ll::TypedStorage<8, 32, ::std::string> mTargetScoreObjective;
196 ::ll::TypedStorage<8, 32, ::std::string> mSourceScoreObjective;
197 ::ll::TypedStorage<1, 1, ::CommandCompareOperator> mCompareOperator;
198 ::ll::TypedStorage<4, 4, ::NewExecuteCommand::ExecuteChainedSubcommand::ScoreRangeMode> mRangeMode;
199 ::ll::TypedStorage<4, 12, ::CommandIntegerRange> mRange;
200 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::Command>> mCommand;
201 ::ll::TypedStorage<8, 16, ::NewExecuteCommand::ExecuteChainedSubcommand> mChainedCommand;
213 MCAPI NewExecuteCommand();
215 MCAPI
void _commandOutputFail(
::CommandOutput& output, ::std::optional<int>
const& testPassCount)
const;
217 MCAPI
void _commandOutputSuccess(
::CommandOutput& output, ::std::optional<int>
const& testPassCount)
const;
219 MCAPI
bool _detectConditionSubcommand(
222 ::std::optional<int>& testPassCount
225 MCAPI ::std::optional<::ScoreInfo> _getScoreFromSelectorOnObjective(
228 ::std::string
const& objectiveName,
233 MCAPI ::std::optional<::ScoreboardId> _getScoreboardIdForSelector(
244 MCAPI
static void setup(
::CommandRegistry& registry,
int newExecuteStartVersion);