net.minecraft.server.command

public class ExecuteCommand

sa
net.minecraft.class_3050
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_13635
TOO_MANY_BLOCKS_EXCEPTION
field_198421_a
field_198421_a
private static final SimpleCommandExceptionType
b
field_13636
CONDITIONAL_FAILED_EXCEPTION
field_210456_b
field_210456_b
private static final DynamicCommandExceptionType
c
field_13637
CONDITIONAL_FAILED_COUNT_EXCEPTION
field_210457_c
field_210457_c
private static final BinaryOperator<ResultConsumer<CommandSourceStack>>
d
field_13634
CALLBACK_CHAINER
field_209957_b
field_209957_b

Method summary

Modifier and TypeMethod
public static void
a(CommandDispatcher<cd> arg0)
method_13271(com.mojang.brigadier.CommandDispatcher<class_2168> 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<cd> arg0, LiteralArgumentBuilder<cd> arg1, boolean arg2)
method_13289(com.mojang.brigadier.tree.LiteralCommandNode<class_2168> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<class_2168> 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(cd arg0, Collection<String> arg1, css arg2, boolean arg3)
method_13290(class_2168 arg0, Collection<String> arg1, class_266 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(cd arg0, ri arg1, boolean arg2, boolean arg3)
method_13297(class_2168 arg0, class_3002 arg1, boolean arg2, boolean arg3)
storeValue(CommandSourceStack source, CustomBossEvent bossEvent, boolean storeInValue, boolean useResult)
func_209952_a(CommandSource arg0, CustomServerBossInfo arg1, boolean arg2, boolean arg3)
storeIntoBossbar(CommandSource source, CustomServerBossInfo bar, boolean storingValue, boolean storingResult)
private static CommandSourceStack
a(cd arg0, ua arg1, cr$h arg2, IntFunction<is> arg3, boolean arg4)
method_13265(class_2168 arg0, class_3162 arg1, class_2203$class_2209 arg2, IntFunction<class_2520> 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<INBT> arg3, boolean arg4)
storeIntoNBT(CommandSource source, IDataAccessor accessor, NBTPathArgument$NBTPath pathIn, IntFunction<INBT> tagConverter, boolean storingResult)
private static ArgumentBuilder<CommandSourceStack, ?>
a(CommandNode<cd> arg0, LiteralArgumentBuilder<cd> arg1, boolean arg2)
method_13298(com.mojang.brigadier.tree.CommandNode<class_2168> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<class_2168> 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 Command<CommandSourceStack>
a(boolean arg0, sa$a arg1)
method_13323(boolean arg0, class_3050$class_3051 arg1)
m_96832678(boolean arg0, ExecuteCommand$C_40599612 arg1)
func_218834_a(boolean arg0, ExecuteCommand$INumericTest arg1)
func_218834_a(boolean arg0, ExecuteCommand$INumericTest arg1)
private static int
a(ua arg0, cr$h arg1)
method_13303(class_3162 arg0, class_2203$class_2209 arg1)
m_43670920(DataAccess arg0, NbtPathArgument$NbtPath arg1)
func_218831_a(IDataAccessor arg0, NBTPathArgument$NBTPath arg1)
func_218831_a(IDataAccessor arg0, NBTPathArgument$NBTPath arg1)
private static boolean
a(CommandContext<cd> 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<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<cd> arg0, bi$d arg1)
method_13313(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_2096$class_2100 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<cd> 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<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<cd> arg0, ArgumentBuilder<cd, ?> arg1, boolean arg2, sa$b 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)
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$IBooleanTest arg3)
buildIfResult(com.mojang.brigadier.tree.CommandNode<CommandSource> context, com.mojang.brigadier.builder.ArgumentBuilder<CommandSource, ?> builder, boolean value, ExecuteCommand$IBooleanTest test)
private static ArgumentBuilder<CommandSourceStack, ?>
a(CommandNode<cd> arg0, ArgumentBuilder<cd, ?> 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<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<cd> arg0, boolean arg1)
method_13306(com.mojang.brigadier.context.CommandContext<class_2168> 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<cd> arg0, boolean arg1)
method_13304(com.mojang.brigadier.context.CommandContext<class_2168> 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<cd> arg0, boolean arg1)
method_13272(com.mojang.brigadier.context.CommandContext<class_2168> 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(vg arg0, ev arg1, ev arg2, ev 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)
func_198395_a(ServerWorld arg0, BlockPos arg1, BlockPos arg2, BlockPos arg3, boolean arg4)
countMatchingBlocks(ServerWorld worldIn, BlockPos begin, BlockPos end, BlockPos destination, boolean isMasked)