net.minecraft.commands.arguments.item

public class ItemArgument

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

fg
net.minecraft.commands.arguments.item.ItemArgument
net.minecraft.class_2287
net.minecraft.command.argument.ItemStackArgumentType
net.minecraft.src.C_4642_
net.minecraft.commands.arguments.item.ArgumentItemStack

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ItemArgument
a()
item()
method_9776()
itemStack()
m_120960_()
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)
m_120963_(com.mojang.brigadier.context.CommandContext<S> p_120964_, String p_120965_)
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> p_120969_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()