net.minecraft.command.argument

public class SlotArgument

implements ArgumentType<Integer>

db
net.minecraft.class_2240
net.minecraft.command.argument.SlotArgument
net.minecraft.command.arguments.SlotArgument
net.minecraft.command.arguments.SlotArgument

Field summary

Modifier and TypeField
private static final Collection<String>
a
field_9956
EXAMPLES
field_201329_a
field_201329_a
private static final DynamicCommandExceptionType
b
field_9955
UNKNOWN_SLOT_EXCEPTION
field_197224_a
field_197224_a
private static final Map<String, Integer>
c
field_9957
SLOTS
field_197225_b
field_197225_b

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static SlotArgument
a()
method_9473()
slot()
func_197223_a()
slot()
public static int
a(CommandContext<cd> arg0, String arg1)
method_9469(com.mojang.brigadier.context.CommandContext<class_2168> 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)
getSlot(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public Integer
a(StringReader arg0)
method_9470(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
parse(com.mojang.brigadier.StringReader arg0)
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()