net.minecraft.commands.arguments

public class SlotsArgument

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

gc
net.minecraft.commands.arguments.SlotsArgument
net.minecraft.class_9351
net.minecraft.command.argument.SlotRangeArgumentType
net.minecraft.src.C_313542_
net.minecraft.commands.arguments.SlotsArgument

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static SlotsArgument
a()
slots()
method_58130()
slotRange()
m_324401_()
public static SlotRange
a(com.mojang.brigadier.context.CommandContext<et> 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)
m_324723_(com.mojang.brigadier.context.CommandContext<C_2969_> p_333218_, String p_328819_)
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)
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)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_329636_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()