Package net.minecraft.server.command
Class RandomCommand
java.lang.Object
net.minecraft.server.command.RandomCommand
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/RandomCommand- intermediary - net/minecraft/class_8602- official - aoa
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intexecute(ServerCommandSource source, NumberRange.IntRange range, @Nullable Identifier sequenceId, boolean roll) private static intexecuteReset(ServerCommandSource source) private static intexecuteReset(ServerCommandSource source, int salt, boolean includeWorldSeed, boolean includeSequenceId) private static intexecuteReset(ServerCommandSource source, Identifier sequenceId) private static intexecuteReset(ServerCommandSource source, Identifier sequenceId, int salt, boolean includeWorldSeed, boolean includeSequenceId) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestSequences(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder) 
- 
Field Details- 
RANGE_TOO_LARGE_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType RANGE_TOO_LARGE_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - RANGE_TOO_LARGE_EXCEPTION- Lnet/minecraft/server/command/RandomCommand;RANGE_TOO_LARGE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_44983- Lnet/minecraft/class_8602;field_44983:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - a- Laoa;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
RANGE_TOO_SMALL_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType RANGE_TOO_SMALL_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - RANGE_TOO_SMALL_EXCEPTION- Lnet/minecraft/server/command/RandomCommand;RANGE_TOO_SMALL_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_44984- Lnet/minecraft/class_8602;field_44984:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - b- Laoa;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
 
- 
- 
Constructor Details- 
RandomCommandpublic RandomCommand()
 
- 
- 
Method Details- 
register- Mappings:
- Namespace - Name - Mixin selector - named - register- Lnet/minecraft/server/command/RandomCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V- intermediary - method_52318- Lnet/minecraft/class_8602;method_52318(Lcom/mojang/brigadier/CommandDispatcher;)V- official - a- Laoa;a(Lcom/mojang/brigadier/CommandDispatcher;)V
 
- 
randomprivate static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> random(String argumentName, boolean roll) - Mappings:
- Namespace - Name - Mixin selector - named - random- Lnet/minecraft/server/command/RandomCommand;random(Ljava/lang/String;Z)Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;- intermediary - method_52326- Lnet/minecraft/class_8602;method_52326(Ljava/lang/String;Z)Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;- official - a- Laoa;a(Ljava/lang/String;Z)Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;
 
- 
suggestSequencesprivate static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestSequences(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder) - Mappings:
- Namespace - Name - Mixin selector - named - suggestSequences- Lnet/minecraft/server/command/RandomCommand;suggestSequences(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;- intermediary - method_52320- Lnet/minecraft/class_8602;method_52320(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;- official - a- Laoa;a(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
 
- 
executeprivate static int execute(ServerCommandSource source, NumberRange.IntRange range, @Nullable @Nullable Identifier sequenceId, boolean roll) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - execute- Lnet/minecraft/server/command/RandomCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/predicate/NumberRange$IntRange;Lnet/minecraft/util/Identifier;Z)I- intermediary - method_52325- Lnet/minecraft/class_8602;method_52325(Lnet/minecraft/class_2168;Lnet/minecraft/class_2096$class_2100;Lnet/minecraft/class_2960;Z)I- official - a- Laoa;a(Lex;Ldk$d;Lakv;Z)I
 
- 
executeResetprivate static int executeReset(ServerCommandSource source, Identifier sequenceId) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - executeReset- Lnet/minecraft/server/command/RandomCommand;executeReset(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/Identifier;)I- intermediary - method_52323- Lnet/minecraft/class_8602;method_52323(Lnet/minecraft/class_2168;Lnet/minecraft/class_2960;)I- official - a- Laoa;a(Lex;Lakv;)I
 
- 
executeResetprivate static int executeReset(ServerCommandSource source, Identifier sequenceId, int salt, boolean includeWorldSeed, boolean includeSequenceId) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - executeReset- Lnet/minecraft/server/command/RandomCommand;executeReset(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/Identifier;IZZ)I- intermediary - method_52324- Lnet/minecraft/class_8602;method_52324(Lnet/minecraft/class_2168;Lnet/minecraft/class_2960;IZZ)I- official - a- Laoa;a(Lex;Lakv;IZZ)I
 
- 
executeReset- Mappings:
- Namespace - Name - Mixin selector - named - executeReset- Lnet/minecraft/server/command/RandomCommand;executeReset(Lnet/minecraft/server/command/ServerCommandSource;)I- intermediary - method_52321- Lnet/minecraft/class_8602;method_52321(Lnet/minecraft/class_2168;)I- official - a- Laoa;a(Lex;)I
 
- 
executeResetprivate static int executeReset(ServerCommandSource source, int salt, boolean includeWorldSeed, boolean includeSequenceId) - Mappings:
- Namespace - Name - Mixin selector - named - executeReset- Lnet/minecraft/server/command/RandomCommand;executeReset(Lnet/minecraft/server/command/ServerCommandSource;IZZ)I- intermediary - method_52322- Lnet/minecraft/class_8602;method_52322(Lnet/minecraft/class_2168;IZZ)I- official - a- Laoa;a(Lex;IZZ)I
 
 
-