net.minecraft.commands.arguments

public class SlotArgument

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

db
net.minecraft.commands.arguments.SlotArgument
net.minecraft.class_2240
net.minecraft.unmapped.C_jqbfufjx
net.minecraft.command.arguments.ItemSlotArgumentType
net.minecraft.command.arguments.SlotArgument
net.minecraft.server.v1_14_R1.ArgumentInventorySlot

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_9956
f_kfpmusct
EXAMPLES
field_201329_a
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_UNKNOWN_SLOT
field_9955
f_bsfrpwff
UNKNOWN_SLOT_EXCEPTION
field_197224_a
private static final Map<String, Integer>
c
SLOTS
field_9957
f_ghtjzcvw
slotNamesToSlotCommandId
field_197225_b

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static SlotArgument
a()
slot()
method_9473()
m_cprckbhz()
itemSlot()
func_197223_a()
public static int
a(com.mojang.brigadier.context.CommandContext<cd> arg0, String arg1)
getSlot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9469(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
m_pbpqubuq(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
getItemSlot(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
func_197221_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public Integer
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9470(com.mojang.brigadier.StringReader arg0)
m_wumqnwer(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
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 builder)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()