net.minecraft.server.commands

public class ExecuteCommand

yi
net.minecraft.server.commands.ExecuteCommand
net.minecraft.class_3050
net.minecraft.server.command.ExecuteCommand
net.minecraft.src.C_5315_
net.minecraft.server.commands.CommandExecute

Field summary

Modifier and TypeField
private static final int
a
MAX_TEST_AREA
field_33390
MAX_BLOCKS
f_180148_
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
b
ERROR_AREA_TOO_LARGE
field_13635
BLOCKS_TOOBIG_EXCEPTION
f_137030_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_CONDITIONAL_FAILED
field_13636
CONDITIONAL_FAIL_EXCEPTION
f_137031_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_CONDITIONAL_FAILED_COUNT
field_13637
CONDITIONAL_FAIL_COUNT_EXCEPTION
f_137032_
private static final BinaryOperator<com.mojang.brigadier.ResultConsumer<CommandSourceStack>>
e
CALLBACK_CHAINER
field_13634
BINARY_RESULT_CONSUMER
f_137033_
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
f
SUGGEST_PREDICATE
field_20852
LOOT_CONDITIONS
f_137034_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<dl> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13271(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_137042_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_137043_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.tree.LiteralCommandNode<dl> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<dl> arg1, boolean arg2)
wrapStores(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> arg1, boolean arg2)
method_13289(com.mojang.brigadier.tree.LiteralCommandNode<class_2168> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<class_2168> arg1, boolean arg2)
addStoreArguments(com.mojang.brigadier.tree.LiteralCommandNode<ServerCommandSource> node, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> builder, boolean requestResult)
m_137093_(com.mojang.brigadier.tree.LiteralCommandNode<C_2969_> p_137094_, com.mojang.brigadier.builder.LiteralArgumentBuilder<C_2969_> p_137095_, boolean p_137096_)
private static CommandSourceStack
a(dl arg0, Collection<String> arg1, dnv arg2, boolean arg3)
storeValue(CommandSourceStack arg0, Collection<String> arg1, Objective arg2, boolean arg3)
method_13290(class_2168 arg0, Collection<String> arg1, class_266 arg2, boolean arg3)
executeStoreScore(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, boolean requestResult)
m_137107_(C_2969_ p_137108_, Collection<String> p_137109_, C_3073_ p_137110_, boolean p_137111_)
private static CommandSourceStack
a(dl arg0, xn arg1, boolean arg2, boolean arg3)
storeValue(CommandSourceStack arg0, CustomBossEvent arg1, boolean arg2, boolean arg3)
method_13297(class_2168 arg0, class_3002 arg1, boolean arg2, boolean arg3)
executeStoreBossbar(ServerCommandSource source, CommandBossBar bossBar, boolean storeInValue, boolean requestResult)
m_137112_(C_2969_ p_137113_, C_5289_ p_137114_, boolean p_137115_, boolean p_137116_)
private static CommandSourceStack
a(dl arg0, aal arg1, eb$g arg2, IntFunction<ns> arg3, boolean arg4)
storeData(CommandSourceStack arg0, DataAccessor arg1, NbtPathArgument$NbtPath arg2, IntFunction<Tag> arg3, boolean arg4)
method_13265(class_2168 arg0, class_3162 arg1, class_2203$class_2209 arg2, IntFunction<class_2520> arg3, boolean arg4)
executeStoreData(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType$NbtPath path, IntFunction<NbtElement> nbtSetter, boolean requestResult)
m_137117_(C_2969_ p_137118_, C_5395_ p_137119_, C_3685_$C_3692_ p_137120_, IntFunction<C_4950_> p_137121_, boolean p_137122_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.tree.CommandNode<dl> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<dl> arg1, boolean arg2)
addConditionals(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> arg1, boolean arg2)
method_13298(com.mojang.brigadier.tree.CommandNode<class_2168> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<class_2168> arg1, boolean arg2)
addConditionArguments(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> argumentBuilder, boolean positive)
m_137084_(com.mojang.brigadier.tree.CommandNode<C_2969_> p_137085_, com.mojang.brigadier.builder.LiteralArgumentBuilder<C_2969_> p_137086_, boolean p_137087_)
private static com.mojang.brigadier.Command<CommandSourceStack>
a(boolean arg0, yi$a arg1)
createNumericConditionalHandler(boolean arg0, ExecuteCommand$CommandNumericPredicate arg1)
method_13323(boolean arg0, class_3050$class_3051 arg1)
getExistsConditionExecute(boolean positive, ExecuteCommand$ExistsCondition condition)
m_137166_(boolean p_137167_, C_5315_$C_5316_ p_137168_)
private static int
a(aal arg0, eb$g arg1)
checkMatchingData(DataAccessor arg0, NbtPathArgument$NbtPath arg1)
method_13303(class_3162 arg0, class_2203$class_2209 arg1)
countPathMatches(DataCommandObject object, NbtPathArgumentType$NbtPath path)
m_137145_(C_5395_ p_137146_, C_3685_$C_3692_ p_137147_)
private static boolean
a(com.mojang.brigadier.context.CommandContext<dl> arg0, BiPredicate<Integer, Integer> arg1)
checkScore(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, BiPredicate<Integer, Integer> arg1)
method_13263(com.mojang.brigadier.context.CommandContext<class_2168> arg0, BiPredicate<Integer, Integer> arg1)
testScoreCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, BiPredicate<Integer, Integer> condition)
m_137064_(com.mojang.brigadier.context.CommandContext<C_2969_> p_137065_, BiPredicate<Integer, Integer> p_137066_)
private static boolean
a(com.mojang.brigadier.context.CommandContext<dl> arg0, ch$d arg1)
checkScore(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, MinMaxBounds$Ints arg1)
method_13313(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_2096$class_2100 arg1)
testScoreMatch(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, NumberRange$IntRange range)
m_137058_(com.mojang.brigadier.context.CommandContext<C_2969_> p_137059_, C_1863_$C_1867_ p_137060_)
private static boolean
a(dl arg0, dlh arg1)
checkCustomPredicate(CommandSourceStack arg0, LootItemCondition arg1)
method_22829(class_2168 arg0, class_5341 arg1)
testLootCondition(ServerCommandSource source, LootCondition condition)
m_137104_(C_2969_ p_137105_, C_3004_ p_137106_)
private static Collection<CommandSourceStack>
a(com.mojang.brigadier.context.CommandContext<dl> arg0, boolean arg1, boolean arg2)
expect(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, boolean arg1, boolean arg2)
method_13319(com.mojang.brigadier.context.CommandContext<class_2168> arg0, boolean arg1, boolean arg2)
getSourceOrEmptyForConditionFork(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean positive, boolean value)
m_137070_(com.mojang.brigadier.context.CommandContext<C_2969_> p_137071_, boolean p_137072_, boolean p_137073_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.tree.CommandNode<dl> arg0, com.mojang.brigadier.builder.ArgumentBuilder<dl, ?> arg1, boolean arg2, yi$b arg3)
addConditional(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> arg0, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> arg1, boolean arg2, ExecuteCommand$CommandPredicate arg3)
method_13310(com.mojang.brigadier.tree.CommandNode<class_2168> arg0, com.mojang.brigadier.builder.ArgumentBuilder<class_2168, ?> arg1, boolean arg2, class_3050$class_3052 arg3)
addConditionLogic(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, boolean positive, ExecuteCommand$Condition condition)
m_137074_(com.mojang.brigadier.tree.CommandNode<C_2969_> p_137075_, com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?> p_137076_, boolean p_137077_, C_5315_$C_5317_ p_137078_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.tree.CommandNode<dl> arg0, com.mojang.brigadier.builder.ArgumentBuilder<dl, ?> arg1, boolean arg2, boolean arg3)
addIfBlocksConditional(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> arg0, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> arg1, boolean arg2, boolean arg3)
method_13320(com.mojang.brigadier.tree.CommandNode<class_2168> arg0, com.mojang.brigadier.builder.ArgumentBuilder<class_2168, ?> arg1, boolean arg2, boolean arg3)
addBlocksConditionLogic(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> builder, boolean positive, boolean masked)
m_137079_(com.mojang.brigadier.tree.CommandNode<C_2969_> p_137080_, com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?> p_137081_, boolean p_137082_, boolean p_137083_)
private static int
a(com.mojang.brigadier.context.CommandContext<dl> arg0, boolean arg1)
checkIfRegions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, boolean arg1)
method_13306(com.mojang.brigadier.context.CommandContext<class_2168> arg0, boolean arg1)
executePositiveBlockCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean masked)
m_137067_(com.mojang.brigadier.context.CommandContext<C_2969_> p_137068_, boolean p_137069_)
private static int
b(com.mojang.brigadier.context.CommandContext<dl> arg0, boolean arg1)
checkUnlessRegions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, boolean arg1)
method_13304(com.mojang.brigadier.context.CommandContext<class_2168> arg0, boolean arg1)
executeNegativeBlockCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean masked)
m_137193_(com.mojang.brigadier.context.CommandContext<C_2969_> p_137194_, boolean p_137195_)
private static OptionalInt
c(com.mojang.brigadier.context.CommandContext<dl> arg0, boolean arg1)
checkRegions(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, boolean arg1)
method_13272(com.mojang.brigadier.context.CommandContext<class_2168> arg0, boolean arg1)
testBlocksCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, boolean masked)
m_137220_(com.mojang.brigadier.context.CommandContext<C_2969_> p_137221_, boolean p_137222_)
private static OptionalInt
a(abr arg0, gg arg1, gg arg2, gg arg3, boolean arg4)
checkRegions(ServerLevel arg0, BlockPos arg1, BlockPos arg2, BlockPos arg3, boolean arg4)
method_13261(class_3218 arg0, class_2338 arg1, class_2338 arg2, class_2338 arg3, boolean arg4)
testBlocksCondition(ServerWorld world, BlockPos start, BlockPos end, BlockPos destination, boolean masked)
m_137036_(C_12_ p_137037_, C_4675_ p_137038_, C_4675_ p_137039_, C_4675_ p_137040_, boolean p_137041_)