net.minecraft.commands.arguments.item

public class ItemParser

fj
net.minecraft.commands.arguments.item.ItemParser
net.minecraft.class_2291
net.minecraft.unmapped.C_aggscjva
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
f_mtuhuqda
TAG_DISALLOWED_EXCEPTION
f_120991_
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_UNKNOWN_ITEM
field_10799
f_fwzjhzyb
ID_INVALID_EXCEPTION
f_120992_
private static final char
c
SYNTAX_START_NBT
field_33066
f_nhjeovde
LEFT_CURLY_BRACKET
f_175091_
private static final char
d
SYNTAX_TAG
field_33067
f_wmpcwecy
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
f_hxfugzgd
NBT_SUGGESTION_PROVIDER
f_120993_
private final com.mojang.brigadier.StringReader
f
reader
field_10802
f_vcqhzezg
reader
f_120994_
private final boolean
g
forTesting
field_10804
f_kxnzfhuw
allowTag
f_120995_
private Item
h
item
field_10803
f_nnncxmzp
item
f_120997_
private CompoundTag
i
nbt
field_10807
f_uvxmhrao
nbt
f_120998_
private ResourceLocation
j
tag
field_10808
f_ceonqyuv
id
f_120999_
private int
k
tagCursor
field_10809
f_hbjqolrc
cursor
f_121000_
private BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder, TagCollection<Item>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
l
suggestions
field_10805
f_eanmignc
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()
m_omuopqfq()
getItem()
m_121014_()
public CompoundTag
b()
getNbt()
method_9797()
m_uqahkaop()
getNbt()
m_121018_()
public ResourceLocation
c()
getTag()
method_9790()
m_eojqatrg()
getId()
m_121022_()
public void
d()
readItem()
method_9795()
m_lryorlry()
readItem()
m_121026_()
public void
e()
readTag()
method_9787()
m_ygxjfoak()
readTag()
m_121030_()
public void
f()
readNbt()
method_9788()
m_roenujng()
readNbt()
m_121031_()
public ItemParser
g()
parse()
method_9789()
m_xboesavj()
consume()
m_121032_()
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
b(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, ahs<bua> arg1)
suggestOpenNbt(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, TagCollection<Item> arg1)
method_9794(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, class_5414<class_1792> arg1)
m_lgepeugi(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, C_urufctfi<C_vorddnax> 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, ahs<bua> arg1)
suggestTag(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, TagCollection<Item> arg1)
method_9796(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, class_5414<class_1792> arg1)
m_cmbjfufc(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, C_urufctfi<C_vorddnax> 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, ahs<bua> arg1)
suggestItemIdOrTag(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, TagCollection<Item> arg1)
method_9791(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, class_5414<class_1792> arg1)
m_vltzzlbs(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, C_urufctfi<C_vorddnax> 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, ahs<bua> arg1)
fillSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, TagCollection<Item> arg1)
method_9793(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, class_5414<class_1792> arg1)
m_seifydji(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, C_urufctfi<C_vorddnax> 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)