net.minecraft.commands.arguments.item

public class ItemParser

fi
net.minecraft.commands.arguments.item.ItemParser
net.minecraft.class_2291
net.minecraft.command.argument.ItemStringReader
net.minecraft.src.C_4644_
net.minecraft.commands.arguments.item.ArgumentParserItemStack

Field summary

Modifier and TypeField
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_NO_TAGS_ALLOWED
field_10800
TAG_DISALLOWED_EXCEPTION
f_120991_
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_UNKNOWN_ITEM
field_10799
ID_INVALID_EXCEPTION
f_120992_
private static final char
c
SYNTAX_START_NBT
field_33066
LEFT_CURLY_BRACKET
f_175091_
private static final char
d
SYNTAX_TAG
field_33067
HASH_SIGN
f_175092_
private static final BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder, TagCollection<Item>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
e
SUGGEST_NOTHING
field_10806
NBT_SUGGESTION_PROVIDER
f_120993_
private final com.mojang.brigadier.StringReader
f
reader
field_10802
reader
f_120994_
private final boolean
g
forTesting
field_10804
allowTag
f_120995_
private Item
h
item
field_10803
item
f_120997_
private CompoundTag
i
nbt
field_10807
nbt
f_120998_
private ResourceLocation
j
tag
field_10808
id
f_120999_
private int
k
tagCursor
field_10809
cursor
f_121000_
private BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder, TagCollection<Item>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
l
suggestions
field_10805
suggestions
f_121001_

Constructor summary

ModifierConstructor
public (com.mojang.brigadier.StringReader reader, boolean allowTag)

Method summary

Modifier and TypeMethod
public Item
a()
getItem()
method_9786()
getItem()
m_121014_()
public CompoundTag
b()
getNbt()
method_9797()
getNbt()
m_121018_()
public ResourceLocation
c()
getTag()
method_9790()
getId()
m_121022_()
public void
d()
readItem()
method_9795()
readItem()
m_121026_()
public void
e()
readTag()
method_9787()
readTag()
m_121030_()
public void
f()
readNbt()
method_9788()
readNbt()
m_121031_()
public ItemParser
g()
parse()
method_9789()
consume()
m_121032_()
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
b(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, agb<bqm> arg1)
suggestOpenNbt(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, TagCollection<Item> arg1)
method_9794(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, class_5414<class_1792> arg1)
suggestItem(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, TagGroup<Item> group)
m_121015_(com.mojang.brigadier.suggestion.SuggestionsBuilder p_121017_, C_157_<C_1381_> arg1)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
c(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, agb<bqm> arg1)
suggestTag(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, TagCollection<Item> arg1)
method_9796(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, class_5414<class_1792> arg1)
suggestTag(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, TagGroup<Item> group)
m_121019_(com.mojang.brigadier.suggestion.SuggestionsBuilder p_121021_, C_157_<C_1381_> arg1)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
d(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, agb<bqm> arg1)
suggestItemIdOrTag(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, TagCollection<Item> arg1)
method_9791(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, class_5414<class_1792> arg1)
suggestAny(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, TagGroup<Item> group)
m_121023_(com.mojang.brigadier.suggestion.SuggestionsBuilder p_121025_, C_157_<C_1381_> arg1)
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, agb<bqm> arg1)
fillSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, TagCollection<Item> arg1)
method_9793(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, class_5414<class_1792> arg1)
getSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, TagGroup<Item> group)
m_121009_(com.mojang.brigadier.suggestion.SuggestionsBuilder p_121011_, C_157_<C_1381_> arg1)