net.minecraft.commands.arguments

public class SlotsArgument

implements com.mojang.brigadier.arguments.ArgumentType<SlotRange>

gf
net.minecraft.commands.arguments.SlotsArgument
net.minecraft.class_9351
net.minecraft.command.argument.SlotRangeArgumentType
net.minecraft.commands.arguments.SlotsArgument

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_49767
EXAMPLES
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_UNKNOWN_SLOT
field_49768
UNKNOWN_SLOT_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static SlotsArgument
a()
slots()
method_58130()
slotRange()
public static SlotRange
a(com.mojang.brigadier.context.CommandContext<ew> arg0, String arg1)
getSlots(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_58133(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getSlotRange(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
public SlotRange
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_58132(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder)
public Collection<String>
getExamples()
getExamples()