net.minecraft.server.commands

public class RandomCommand

ahw
net.minecraft.server.commands.RandomCommand
net.minecraft.class_8602
net.minecraft.server.command.RandomCommand
net.minecraft.src.C_290118_
net.minecraft.server.commands.RandomCommand

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<dt> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_52318(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_293091_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_300897_)
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack>
a(String arg0, boolean arg1)
drawRandomValueTree(String arg0, boolean arg1)
method_52326(String arg0, boolean arg1)
random(String argumentName, boolean roll)
m_294368_(String p_299144_, boolean p_298789_)
private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.context.CommandContext<dt> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestRandomSequence(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
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)
m_294242_(com.mojang.brigadier.context.CommandContext<C_2969_> p_297521_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_299165_)
private static int
a(dt arg0, cl$d arg1, aew arg2, boolean arg3)
randomSample(CommandSourceStack arg0, MinMaxBounds$Ints arg1, ResourceLocation arg2, boolean arg3)
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)
m_295741_(C_2969_ p_299745_, C_1863_$C_1867_ p_299529_, C_5265_ p_301238_, boolean p_298006_)
private static int
a(dt arg0, aew arg1)
resetSequence(CommandSourceStack arg0, ResourceLocation arg1)
method_52323(class_2168 arg0, class_2960 arg1)
executeReset(ServerCommandSource source, Identifier sequenceId)
m_295473_(C_2969_ p_300119_, C_5265_ p_298199_)
private static int
a(dt arg0, aew arg1, int arg2, boolean arg3, boolean arg4)
resetSequence(CommandSourceStack arg0, ResourceLocation arg1, int arg2, boolean arg3, boolean arg4)
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)
m_294698_(C_2969_ p_298149_, C_5265_ p_299177_, int p_300974_, boolean p_298057_, boolean p_300002_)
private static int
a(dt arg0)
resetAllSequences(CommandSourceStack arg0)
method_52321(class_2168 arg0)
executeReset(ServerCommandSource source)
m_293464_(C_2969_ p_299139_)
private static int
a(dt arg0, int arg1, boolean arg2, boolean arg3)
resetAllSequencesAndSetNewDefaults(CommandSourceStack arg0, int arg1, boolean arg2, boolean arg3)
method_52322(class_2168 arg0, int arg1, boolean arg2, boolean arg3)
executeReset(ServerCommandSource source, int salt, boolean includeWorldSeed, boolean includeSequenceId)
m_295731_(C_2969_ p_299873_, int p_300494_, boolean p_300184_, boolean p_297446_)