net.minecraft.commands.arguments.item

public class ItemParser

ey
net.minecraft.commands.arguments.item.ItemParser
net.minecraft.class_2291
net.minecraft.command.argument.ItemStringReader
net.minecraft.command.arguments.ItemParser
net.minecraft.server.v1_16_R2.ArgumentParserItemStack

Field summary

Modifier and TypeField
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_NO_TAGS_ALLOWED
field_10800
TAG_DISALLOWED_EXCEPTION
field_199838_a
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_UNKNOWN_ITEM
field_10799
ID_INVALID_EXCEPTION
field_197333_a
private static final BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder, TagCollection<Item>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
c
SUGGEST_NOTHING
field_10806
NBT_SUGGESTION_PROVIDER
field_197334_b
private final com.mojang.brigadier.StringReader
d
reader
field_10802
reader
field_197335_c
private final boolean
e
forTesting
field_10804
allowTag
field_199839_e
private final Map<Property<?>, Comparable<?>>
f
properties
field_10801
field_10801
field_197336_d
private Item
g
item
field_10803
item
field_197337_e
private CompoundTag
h
nbt
field_10807
tag
field_197338_f
private ResourceLocation
i
tag
field_10808
id
field_199840_f
private int
j
tagCursor
field_10809
cursor
field_201956_j
private BiFunction<com.mojang.brigadier.suggestion.SuggestionsBuilder, TagCollection<Item>, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
k
suggestions
field_10805
suggestions
field_197339_g

Constructor summary

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

Method summary

Modifier and TypeMethod
public Item
b()
getItem()
method_9786()
getItem()
func_197326_b()
public CompoundTag
c()
getNbt()
method_9797()
getTag()
func_197325_c()
public ResourceLocation
d()
getTag()
method_9790()
getId()
func_199835_d()
public void
e()
readItem()
method_9795()
readItem()
func_197332_d()
public void
f()
readTag()
method_9787()
readTag()
func_199834_f()
public void
g()
readNbt()
method_9788()
readNbt()
func_197330_e()
public ItemParser
h()
parse()
method_9789()
consume()
func_197327_f()
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
b(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, aek<blu> 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 arg0, TagGroup<Item> arg1)
func_197328_b(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, ITagCollection<Item> arg1)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
c(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, aek<blu> 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 suggestionsBuilder, TagGroup<Item> arg1)
func_201955_c(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, ITagCollection<Item> arg1)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
d(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, aek<blu> 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 arg0, TagGroup<Item> arg1)
func_197331_c(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, ITagCollection<Item> arg1)
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, aek<blu> 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> arg1)
func_197329_a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, ITagCollection<Item> arg1)