net.minecraft.server.command

public class ExecuteCommand

qm
net.minecraft.class_4419
net.minecraft.server.command.ExecuteCommand
net.minecraft.command.impl.ExecuteCommand
net.minecraft.command.impl.ExecuteCommand

Field summary

Modifier and TypeField
private static final Dynamic2CommandExceptionType
a
field_21733
TOO_MANY_BLOCKS_EXCEPTION
field_198421_a
TOO_MANY_BLOCKS
private static final SimpleCommandExceptionType
b
field_21734
CONDITIONAL_FAILED_EXCEPTION
field_210456_b
TEST_FAILED
private static final DynamicCommandExceptionType
c
field_21735
CONDITIONAL_FAILED_COUNT_EXCEPTION
field_210457_c
TEST_FAILED_COUNT
private static final BinaryOperator<ResultConsumer<CommandSourceStack>>
d
field_21736
CALLBACK_CHAINER
field_209957_b
COMBINE_ON_RESULT_COMPLETE

Method summary

Modifier and TypeMethod
public static void
a(CommandDispatcher<bu> arg0)
method_20689(com.mojang.brigadier.CommandDispatcher<class_3915> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
func_198378_a(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSource> dispatcher)
private static ArgumentBuilder<CommandSourceStack, ?>
a(LiteralCommandNode<bu> arg0, LiteralArgumentBuilder<bu> arg1, boolean arg2)
method_20701(com.mojang.brigadier.tree.LiteralCommandNode<class_3915> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<class_3915> arg1, boolean arg2)
registerStore(com.mojang.brigadier.tree.LiteralCommandNode<CommandSourceStack> node, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> builder, boolean useResult)
func_198392_a(com.mojang.brigadier.tree.LiteralCommandNode<CommandSource> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> arg1, boolean arg2)
makeStoreSubcommand(com.mojang.brigadier.tree.LiteralCommandNode<CommandSource> parent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> literal, boolean storingResult)
private static CommandSourceStack
a(bu arg0, Collection<String> arg1, cez arg2, boolean arg3)
method_20686(class_3915 arg0, Collection<String> arg1, class_1467 arg2, boolean arg3)
storeValue(CommandSourceStack source, Collection<String> scoreHolders, ScoreboardObjective score, boolean useResult)
func_209930_a(CommandSource arg0, Collection<String> arg1, ScoreObjective arg2, boolean arg3)
storeIntoScore(CommandSource source, Collection<String> targets, ScoreObjective objective, boolean storingResult)
private static CommandSourceStack
a(bu arg0, pu arg1, boolean arg2, boolean arg3)
method_20687(class_3915 arg0, class_4402 arg1, boolean arg2, boolean arg3)
storeValue(CommandSourceStack source, CustomBossEvent bossEvent, boolean storeInValue, boolean useResult)
func_209952_a(CommandSource arg0, CustomBossEvent arg1, boolean arg2, boolean arg3)
storeIntoBossbar(CommandSource source, CustomBossEvent bar, boolean storingValue, boolean storingResult)
private static CommandSourceStack
a(bu arg0, si arg1, ci$c arg2, IntFunction<ho> arg3, boolean arg4)
method_20688(class_3915 arg0, class_4436 arg1, class_4124$class_4127 arg2, IntFunction<class_4373> arg3, boolean arg4)
storeData(CommandSourceStack source, DataAccess data, NbtPathArgument$NbtPath path, IntFunction<NbtElement> transform, boolean useResult)
func_198397_a(CommandSource arg0, IDataAccessor arg1, NBTPathArgument$NBTPath arg2, IntFunction<INBTBase> arg3, boolean arg4)
storeIntoNBT(CommandSource source, IDataAccessor accessor, NBTPathArgument$NBTPath pathIn, IntFunction<INBTBase> tagConverter, boolean storingResult)
private static ArgumentBuilder<CommandSourceStack, ?>
a(CommandNode<bu> arg0, LiteralArgumentBuilder<bu> arg1, boolean arg2)
method_20700(com.mojang.brigadier.tree.CommandNode<class_3915> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<class_3915> arg1, boolean arg2)
addConditionals(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> node, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> builder, boolean positive)
func_198394_a(com.mojang.brigadier.tree.CommandNode<CommandSource> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> arg1, boolean arg2)
makeIfCommand(com.mojang.brigadier.tree.CommandNode<CommandSource> parent, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> literal, boolean isIf)
private static boolean
a(CommandContext<bu> arg0, BiPredicate<Integer, Integer> arg1)
method_20695(com.mojang.brigadier.context.CommandContext<class_3915> arg0, BiPredicate<Integer, Integer> arg1)
testScoreCondition(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, BiPredicate<Integer, Integer> condition)
func_198371_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, BiPredicate<Integer, Integer> arg1)
compareScores(com.mojang.brigadier.context.CommandContext<CommandSource> context, BiPredicate<Integer, Integer> comparison)
private static boolean
a(CommandContext<bu> arg0, ba$d arg1)
method_20694(com.mojang.brigadier.context.CommandContext<class_3915> arg0, class_3638$class_3642 arg1)
testScoreMatch(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, NumberPredicate$Ints range)
func_201115_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, MinMaxBounds$IntBound arg1)
checkScore(com.mojang.brigadier.context.CommandContext<CommandSource> context, MinMaxBounds$IntBound bounds)
private static Collection<CommandSourceStack>
a(CommandContext<bu> arg0, boolean arg1, boolean arg2)
method_20697(com.mojang.brigadier.context.CommandContext<class_3915> arg0, boolean arg1, boolean arg2)
getSourceOrEmptyForConditionFork(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, boolean positive, boolean value)
func_198411_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, boolean arg1, boolean arg2)
checkIfMatches(com.mojang.brigadier.context.CommandContext<CommandSource> context, boolean actual, boolean expected)
private static ArgumentBuilder<CommandSourceStack, ?>
a(CommandNode<bu> arg0, ArgumentBuilder<bu, ?> arg1, boolean arg2, qm$a arg3)
method_20698(com.mojang.brigadier.tree.CommandNode<class_3915> arg0, com.mojang.brigadier.builder.ArgumentBuilder<class_3915, ?> arg1, boolean arg2, class_4419$class_4420 arg3)
addConditional(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> root, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> builder, boolean positive, ExecuteCommand$CommandPredicate condition)
func_210415_a(com.mojang.brigadier.tree.CommandNode<CommandSource> arg0, com.mojang.brigadier.builder.ArgumentBuilder<CommandSource, ?> arg1, boolean arg2, ExecuteCommand$ExecuteTest arg3)
buildIfResult(com.mojang.brigadier.tree.CommandNode<CommandSource> context, com.mojang.brigadier.builder.ArgumentBuilder<CommandSource, ?> builder, boolean value, ExecuteCommand$ExecuteTest test)
private static ArgumentBuilder<CommandSourceStack, ?>
a(CommandNode<bu> arg0, ArgumentBuilder<bu, ?> arg1, boolean arg2, boolean arg3)
method_20699(com.mojang.brigadier.tree.CommandNode<class_3915> arg0, com.mojang.brigadier.builder.ArgumentBuilder<class_3915, ?> arg1, boolean arg2, boolean arg3)
addBlocksConditionLogic(com.mojang.brigadier.tree.CommandNode<CommandSourceStack> root, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> builder, boolean positive, boolean masked)
func_212178_a(com.mojang.brigadier.tree.CommandNode<CommandSource> arg0, com.mojang.brigadier.builder.ArgumentBuilder<CommandSource, ?> arg1, boolean arg2, boolean arg3)
buildIfBlocks(com.mojang.brigadier.tree.CommandNode<CommandSource> parent, com.mojang.brigadier.builder.ArgumentBuilder<CommandSource, ?> literal, boolean isIf, boolean isMasked)
private static int
a(CommandContext<bu> arg0, boolean arg1)
method_20696(com.mojang.brigadier.context.CommandContext<class_3915> arg0, boolean arg1)
executePositiveBlockCondition(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, boolean masked)
func_212175_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, boolean arg1)
checkBlockCountIf(com.mojang.brigadier.context.CommandContext<CommandSource> context, boolean isMasked)
private static int
b(CommandContext<bu> arg0, boolean arg1)
method_20717(com.mojang.brigadier.context.CommandContext<class_3915> arg0, boolean arg1)
executeNegativeBlockCondition(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, boolean masked)
func_212173_b(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, boolean arg1)
checkBlockCountUnless(com.mojang.brigadier.context.CommandContext<CommandSource> context, boolean isMasked)
private static OptionalInt
c(CommandContext<bu> arg0, boolean arg1)
method_20724(com.mojang.brigadier.context.CommandContext<class_3915> arg0, boolean arg1)
testBlocksCondition(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, boolean masked)
func_212169_c(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, boolean arg1)
countMatchingBlocks(com.mojang.brigadier.context.CommandContext<CommandSource> context, boolean isMasked)
private static OptionalInt
a(td arg0, el arg1, el arg2, el arg3, boolean arg4)
method_20709(class_795 arg0, class_2552 arg1, class_2552 arg2, class_2552 arg3, boolean arg4)
testBlocksCondition(ServerWorld world, BlockPos start, BlockPos end, BlockPos destination, boolean masked)
func_198395_a(WorldServer arg0, BlockPos arg1, BlockPos arg2, BlockPos arg3, boolean arg4)
countMatchingBlocks(WorldServer worldIn, BlockPos begin, BlockPos end, BlockPos destination, boolean isMasked)