net.minecraft.server.commands

public class ExecuteCommand

agv
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<dt> arg0, dn 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)
m_214434_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_214435_, C_213173_ p_214436_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.tree.LiteralCommandNode<dt> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<dt> 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(dt arg0, Collection<String> arg1, eij 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(dt arg0, afu 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(dt arg0, ajg arg1, ej$g arg2, IntFunction<rq> 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 boolean
a(akq arg0, gw arg1)
isChunkLoaded(ServerLevel arg0, BlockPos arg1)
method_48059(class_3218 arg0, class_2338 arg1)
isLoaded(ServerWorld world, BlockPos pos)
m_264155_(C_12_ p_265261_, C_4675_ p_265260_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(com.mojang.brigadier.tree.CommandNode<dt> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<dt> arg1, boolean arg2, dn 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)
m_214437_(com.mojang.brigadier.tree.CommandNode<C_2969_> p_214438_, com.mojang.brigadier.builder.LiteralArgumentBuilder<C_2969_> p_214439_, boolean p_214440_, C_213173_ p_214441_)
private static com.mojang.brigadier.Command<CommandSourceStack>
a(boolean arg0, agv$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(ajg arg0, ej$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<dt> 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<dt> arg0, cl$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(dt arg0, efp 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<dt> 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<dt> arg0, com.mojang.brigadier.builder.ArgumentBuilder<dt, ?> arg1, boolean arg2, agv$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<dt> arg0, com.mojang.brigadier.builder.ArgumentBuilder<dt, ?> 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<dt> 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<dt> 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<dt> 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(akq arg0, gw arg1, gw arg2, gw 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_)
private static com.mojang.brigadier.RedirectModifier<CommandSourceStack>
a(Function<biq, Optional<biq>> arg0)
expandOneToOneEntityRelation(Function<Entity, Optional<Entity>> arg0)
method_48063(Function<class_1297, Optional<class_1297>> arg0)
createEntityModifier(Function<Entity, Optional<Entity>> function)
m_264445_(Function<C_507_, Optional<C_507_>> p_265114_)
private static com.mojang.brigadier.RedirectModifier<CommandSourceStack>
b(Function<biq, Stream<biq>> arg0)
expandOneToManyEntityRelation(Function<Entity, Stream<Entity>> arg0)
method_48066(Function<class_1297, Stream<class_1297>> arg0)
createMultiEntityModifier(Function<Entity, Stream<Entity>> function)
m_264350_(Function<C_507_, Stream<C_507_>> p_265496_)
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack>
a(com.mojang.brigadier.tree.CommandNode<dt> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<dt> 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)
m_264124_(com.mojang.brigadier.tree.CommandNode<C_2969_> p_265189_, com.mojang.brigadier.builder.LiteralArgumentBuilder<C_2969_> p_265783_)
private static CommandSourceStack
a(dt arg0, he$c<biu<?>> 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)
m_269381_(C_2969_ p_270320_, C_203228_$C_203231_<C_513_<?>> p_270344_)