net.minecraft.server.commands

public class ExecuteCommand

amy
net.minecraft.server.commands.ExecuteCommand
net.minecraft.class_3050
net.minecraft.server.command.ExecuteCommand
net.minecraft.server.commands.CommandExecute

Field summary

Modifier and TypeField
private static final int
b
MAX_TEST_AREA
field_33390
MAX_BLOCKS
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
c
ERROR_AREA_TOO_LARGE
field_13635
BLOCKS_TOOBIG_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
ERROR_CONDITIONAL_FAILED
field_13636
CONDITIONAL_FAIL_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
e
ERROR_CONDITIONAL_FAILED_COUNT
field_13637
CONDITIONAL_FAIL_COUNT_EXCEPTION
public static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
a
ERROR_FUNCTION_CONDITION_INSTANTATION_FAILURE
field_46642
INSTANTIATION_FAILURE_EXCEPTION
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSourceStack>
f
SUGGEST_PREDICATE
field_20852
LOOT_CONDITIONS

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ex> arg0, et arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_13271(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.tree.LiteralCommandNode<ex> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<ex> 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)
private static CommandSourceStack
a(ex arg0, Collection<fcf> arg1, fby arg2, boolean arg3)
storeValue(CommandSourceStack arg0, Collection<ScoreHolder> arg1, Objective arg2, boolean arg3)
method_13290(class_2168 arg0, Collection<class_9015> arg1, class_266 arg2, boolean arg3)
executeStoreScore(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, boolean requestResult)
private static CommandSourceStack
a(ex arg0, alx 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)
private static CommandSourceStack
a(ex arg0, apn arg1, fp$g arg2, IntFunction<un> 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)
private static boolean
a(ard arg0, ji arg1)
isChunkLoaded(ServerLevel arg0, BlockPos arg1)
method_48059(class_3218 arg0, class_2338 arg1)
isLoaded(ServerWorld world, BlockPos pos)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.tree.CommandNode<ex> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<ex> arg1, boolean arg2, et arg3)
addConditionals(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> arg1, boolean arg2, CommandBuildContext arg3)
method_13298(com.mojang.brigadier.tree.CommandNode<class_2168> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<class_2168> arg1, boolean arg2, class_7157 arg3)
addConditionArguments(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> root, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> argumentBuilder, boolean positive, CommandRegistryAccess commandRegistryAccess)
private static int
a(Iterable<? extends bum> arg0, cub arg1, Predicate<cwq> arg2)
countItems(Iterable<? extends Entity> arg0, SlotRange arg1, Predicate<ItemStack> arg2)
method_58035(Iterable<? extends class_1297> arg0, class_9348 arg1, Predicate<class_1799> arg2)
countMatchingItems(Iterable<? extends Entity> entities, SlotRange slotRange, Predicate<ItemStack> predicate)
private static int
a(ex arg0, ji arg1, cub arg2, Predicate<cwq> arg3)
countItems(CommandSourceStack arg0, BlockPos arg1, SlotRange arg2, Predicate<ItemStack> arg3)
method_58034(class_2168 arg0, class_2338 arg1, class_9348 arg2, Predicate<class_1799> arg3)
countMatchingItems(ServerCommandSource source, BlockPos pos, SlotRange slotRange, Predicate<ItemStack> predicate)
private static com.mojang.brigadier.Command<CommandSourceStack>
a(boolean arg0, amy$b arg1)
createNumericConditionalHandler(boolean arg0, ExecuteCommand$CommandNumericPredicate arg1)
method_13323(boolean arg0, class_3050$class_3051 arg1)
getExistsConditionExecute(boolean positive, ExecuteCommand$ExistsCondition condition)
private static int
a(apn arg0, fp$g arg1)
checkMatchingData(DataAccessor arg0, NbtPathArgument$NbtPath arg1)
method_13303(class_3162 arg0, class_2203$class_2209 arg1)
countPathMatches(DataCommandObject object, NbtPathArgumentType$NbtPath path)
private static boolean
a(com.mojang.brigadier.context.CommandContext<ex> arg0, amy$e arg1)
checkScore(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, ExecuteCommand$IntBiPredicate arg1)
method_13263(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_3050$class_9007 arg1)
testScoreCondition(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, ExecuteCommand$ScoreComparisonPredicate predicate)
private static boolean
a(com.mojang.brigadier.context.CommandContext<ex> arg0, dk$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)
private static boolean
a(ex arg0, jr<ezb> arg1)
checkCustomPredicate(CommandSourceStack arg0, Holder<LootItemCondition> arg1)
method_22829(class_2168 arg0, class_6880<class_5341> arg1)
testLootCondition(ServerCommandSource source, RegistryEntry<LootCondition> lootCondition)
private static Collection<CommandSourceStack>
a(com.mojang.brigadier.context.CommandContext<ex> 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)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.tree.CommandNode<ex> arg0, com.mojang.brigadier.builder.ArgumentBuilder<ex, ?> arg1, boolean arg2, amy$c 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)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.tree.CommandNode<ex> arg0, com.mojang.brigadier.builder.ArgumentBuilder<ex, ?> 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)
private static int
a(com.mojang.brigadier.context.CommandContext<ex> 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)
private static int
b(com.mojang.brigadier.context.CommandContext<ex> 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)
private static OptionalInt
c(com.mojang.brigadier.context.CommandContext<ex> 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)
private static OptionalInt
a(ard arg0, ji arg1, ji arg2, ji 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)
private static com.mojang.brigadier.RedirectModifier<CommandSourceStack>
a(Function<bum, Optional<bum>> arg0)
expandOneToOneEntityRelation(Function<Entity, Optional<Entity>> arg0)
method_48063(Function<class_1297, Optional<class_1297>> arg0)
createEntityModifier(Function<Entity, Optional<Entity>> function)
private static com.mojang.brigadier.RedirectModifier<CommandSourceStack>
b(Function<bum, Stream<bum>> arg0)
expandOneToManyEntityRelation(Function<Entity, Stream<Entity>> arg0)
method_48066(Function<class_1297, Stream<class_1297>> arg0)
createMultiEntityModifier(Function<Entity, Stream<Entity>> function)
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack>
a(com.mojang.brigadier.tree.CommandNode<ex> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<ex> arg1)
createRelationOperations(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> arg1)
method_48061(com.mojang.brigadier.tree.CommandNode<class_2168> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<class_2168> arg1)
addOnArguments(com.mojang.brigadier.tree.CommandNode<ServerCommandSource> node, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> builder)
private static CommandSourceStack
a(ex arg0, jr$c<but<?>> arg1)
spawnEntityAndRedirect(CommandSourceStack arg0, Holder$Reference<EntityType<?>> arg1)
method_48756(class_2168 arg0, class_6880$class_6883<class_1299<?>> arg1)
summon(ServerCommandSource source, RegistryEntry$Reference<EntityType<?>> entityType)
public static <T extends ExecutionCommandSource<T>> void
a(T arg0, List<T> arg1, Function<T, T> arg2, IntPredicate arg3, com.mojang.brigadier.context.ContextChain<T> arg4, tq arg5, hy<T> arg6, amy$a<T, Collection<il<T>>> arg7, hs arg8)
scheduleFunctionConditionsAndTest(T arg0, List<T> arg1, Function<T, T> arg2, IntPredicate arg3, com.mojang.brigadier.context.ContextChain<T> arg4, CompoundTag arg5, ExecutionControl<T> arg6, ExecuteCommand$CommandGetter<T, Collection<CommandFunction<T>>> arg7, ChainModifiers arg8)
method_54264(T arg0, List<T> arg1, Function<T, T> arg2, IntPredicate arg3, com.mojang.brigadier.context.ContextChain<T> arg4, class_2487 arg5, class_8855<T> arg6, class_3050$class_8830<T, Collection<class_2158<T>>> arg7, class_8936 arg8)
enqueueExecutions(T baseSource, List<T> sources, Function<T, T> functionSourceGetter, IntPredicate predicate, com.mojang.brigadier.context.ContextChain<T> contextChain, NbtCompound args, ExecutionControl<T> control, ExecuteCommand$FunctionNamesGetter<T, Collection<CommandFunction<T>>> functionNamesGetter, ExecutionFlags flags)