net.minecraft.command.argument

public class SlotArgument

implements ArgumentType<Integer>

cr
net.minecraft.unmapped.C_38501340
net.minecraft.command.argument.SlotArgument
net.minecraft.command.arguments.SlotArgument

Field summary

Modifier and TypeField
private static final Collection<String>
a
f_44985546
EXAMPLES
field_201329_a
private static final DynamicCommandExceptionType
b
f_65733044
UNKNOWN_SLOT_EXCEPTION
field_197224_a
private static final Map<String, Integer>
c
f_28753072
SLOTS
field_197225_b

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static SlotArgument
a()
m_95459243()
slot()
func_197223_a()
public static int
a(CommandContext<bu> arg0, String arg1)
m_04538094(com.mojang.brigadier.context.CommandContext<C_30485881> arg0, String arg1)
getSlot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String arg)
func_197221_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public Integer
a(StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
parse(com.mojang.brigadier.StringReader arg0)
public <S> CompletableFuture<Suggestions>
listSuggestions(CommandContext<S> arg0, SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()