net.minecraft.commands.arguments.item

public class ItemArgument

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

ew
net.minecraft.commands.arguments.item.ItemArgument
net.minecraft.class_2287
net.minecraft.command.argument.ItemStackArgumentType
net.minecraft.command.arguments.ItemArgument
net.minecraft.server.v1_16_R2.ArgumentItemStack

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_10790
EXAMPLES
field_201339_a

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ItemArgument
a()
item()
method_9776()
itemStack()
func_197317_a()
public ItemInput
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9778(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public static <S> ItemInput
a(com.mojang.brigadier.context.CommandContext<S> arg0, String arg1)
getItem(com.mojang.brigadier.context.CommandContext<S> arg0, String arg1)
method_9777(com.mojang.brigadier.context.CommandContext<S> arg0, String arg1)
getItemStackArgument(com.mojang.brigadier.context.CommandContext<S> context, String name)
func_197316_a(com.mojang.brigadier.context.CommandContext<S> arg0, String arg1)
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()
getExamples()