net.minecraft.server.command

public class RandomCommand

net.minecraft.server.commands.RandomCommand
net.minecraft.server.commands.RandomCommand
net.minecraft.class_8602
net.minecraft.server.command.RandomCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_RANGE_TOO_LARGE
ERROR_RANGE_TOO_LARGE
field_44983
RANGE_TOO_LARGE_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_RANGE_TOO_SMALL
ERROR_RANGE_TOO_SMALL
field_44984
RANGE_TOO_SMALL_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_52318(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource>
drawRandomValueTree(String name, boolean announce)
drawRandomValueTree(String name, boolean announce)
method_52326(String arg0, boolean arg1)
random(String argumentName, boolean roll)
private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestRandomSequence(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
suggestRandomSequence(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
method_52320(com.mojang.brigadier.context.CommandContext<class_2168> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestSequences(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder)
private static int
randomSample(CommandSourceStack source, MinMaxBounds$Ints range, Identifier sequence, boolean announce)
randomSample(CommandSourceStack source, MinMaxBounds$Ints range, Identifier sequence, boolean announce)
method_52325(class_2168 arg0, class_2096$class_2100 arg1, class_2960 arg2, boolean arg3)
execute(ServerCommandSource source, NumberRange$IntRange range, Identifier sequenceId, boolean roll)
private static int
resetSequence(CommandSourceStack source, Identifier sequence)
resetSequence(CommandSourceStack source, Identifier sequence)
method_52323(class_2168 arg0, class_2960 arg1)
executeReset(ServerCommandSource source, Identifier sequenceId)
private static int
resetSequence(CommandSourceStack source, Identifier sequence, int salt, boolean includeWorldSeed, boolean includeSequenceId)
resetSequence(CommandSourceStack source, Identifier sequence, int salt, boolean includeWorldSeed, boolean includeSequenceId)
method_52324(class_2168 arg0, class_2960 arg1, int arg2, boolean arg3, boolean arg4)
executeReset(ServerCommandSource source, Identifier sequenceId, int salt, boolean includeWorldSeed, boolean includeSequenceId)
private static int
resetAllSequences(CommandSourceStack source)
resetAllSequences(CommandSourceStack source)
method_52321(class_2168 arg0)
executeReset(ServerCommandSource source)
private static int
resetAllSequencesAndSetNewDefaults(CommandSourceStack source, int salt, boolean includeWorldSeed, boolean includeSequenceId)
resetAllSequencesAndSetNewDefaults(CommandSourceStack source, int salt, boolean includeWorldSeed, boolean includeSequenceId)
method_52322(class_2168 arg0, int arg1, boolean arg2, boolean arg3)
executeReset(ServerCommandSource source, int salt, boolean includeWorldSeed, boolean includeSequenceId)