net.minecraft.commands.arguments.item

public class ItemArgument

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

hf
net.minecraft.commands.arguments.item.ItemArgument
net.minecraft.class_2287
net.minecraft.command.argument.ItemStackArgumentType
net.minecraft.commands.arguments.item.ArgumentItemStack

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_10790
EXAMPLES
private final ItemParser
b
parser
field_48954
reader

Constructor summary

ModifierConstructor
public (CommandBuildContext commandRegistryAccess)

Method summary

Modifier and TypeMethod
public static ItemArgument
a(es arg0)
item(CommandBuildContext arg0)
method_9776(class_7157 arg0)
itemStack(CommandRegistryAccess commandRegistryAccess)
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)
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)
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)
public Collection<String>
getExamples()
getExamples()