net.minecraft.commands.arguments.item

public class ItemParser

he
net.minecraft.commands.arguments.item.ItemParser
net.minecraft.class_2291
net.minecraft.unmapped.C_aggscjva
net.minecraft.command.argument.ItemStringReader
net.minecraft.command.argument.ItemStringReader
net.minecraft.src.C_4644_
net.minecraft.commands.arguments.item.ArgumentParserItemStack

Field summary

Modifier and TypeField
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
f
ERROR_UNKNOWN_ITEM
field_50048
f_fwzjhzyb
INVALID_ITEM_ID_EXCEPTION
ITEM_ID_INVALID_EXCEPTION
f_120992_
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
g
ERROR_UNKNOWN_COMPONENT
field_50049
f_ytehdehq
UNKNOWN_COMPONENT_EXCEPTION
ITEM_COMPONENT_UNKNOWN_EXCEPTION
f_315145_
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
h
ERROR_MALFORMED_COMPONENT
field_50050
f_vdbeciht
MALFORMED_COMPONENT_EXCEPTION
ITEM_COMPONENT_MALFORMED_EXCEPTION
f_315026_
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
i
ERROR_EXPECTED_COMPONENT
field_50051
f_lrafhxvx
COMPONENT_EXPECTED_EXCEPTION
ITEM_COMPONENT_EXPECTED_EXCEPTION
f_316029_
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
j
ERROR_REPEATED_COMPONENT
field_50052
f_cmtaezhv
REPEATED_COMPONENT_EXCEPTION
ITEM_COMPONENT_REPEATED_EXCEPTION
f_316330_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
k
ERROR_MALFORMED_ITEM
field_51458
f_rbdjlisn
MALFORMED_ITEM_EXCEPTION
f_316165_
public static final char
a
SYNTAX_START_COMPONENTS
field_50044
f_hkgvkeaa
OPEN_SQUARE_BRACKET
LEFT_SQUARE_BRACKET
f_316864_
public static final char
b
SYNTAX_END_COMPONENTS
field_50045
f_hhcgpsuq
CLOSED_SQUARE_BRACKET
RIGHT_SQUARE_BRACKET
f_314470_
public static final char
c
SYNTAX_COMPONENT_SEPARATOR
field_50046
f_khcndogj
COMMA
COMMA
f_316986_
public static final char
d
SYNTAX_COMPONENT_ASSIGNMENT
field_50047
f_aplmwlmb
EQUAL_SIGN
EQUAL_SIGN
f_317037_
public static final char
e
SYNTAX_REMOVED_COMPONENT
field_51831
f_mdcplqwg
EXCLAMATION_MARK
f_336985_
static final Function<com.mojang.brigadier.suggestion.SuggestionsBuilder, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
l
SUGGEST_NOTHING
field_50053
f_hxfugzgd
SUGGEST_DEFAULT
f_120993_
final HolderLookup$RegistryLookup<Item>
m
items
field_50054
f_qmjmakhc
itemRegistry
f_235287_
final com.mojang.serialization.DynamicOps<Tag>
n
registryOps
field_50055
f_sjsgfzxg
nbtOps
ops
f_314775_

Constructor summary

ModifierConstructor
public (HolderLookup$Provider registryLookup)

Method summary

Modifier and TypeMethod
public ItemParser$ItemResult
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9789(com.mojang.brigadier.StringReader arg0)
m_ccdupztg(com.mojang.brigadier.StringReader arg0)
consume(com.mojang.brigadier.StringReader reader)
m_ccdupztg(com.mojang.brigadier.StringReader reader)
m_235324_(com.mojang.brigadier.StringReader arg0)
private static void
a(com.mojang.brigadier.StringReader arg0, jm<cul> arg1, kn arg2)
validateComponents(com.mojang.brigadier.StringReader arg0, Holder<Item> arg1, DataComponentPatch arg2)
method_59769(com.mojang.brigadier.StringReader arg0, class_6880<class_1792> arg1, class_9326 arg2)
m_teqbcvvp(com.mojang.brigadier.StringReader arg0, C_cjzoxshv<C_vorddnax> arg1, C_jqyoylib arg2)
validate(com.mojang.brigadier.StringReader reader, RegistryEntry<Item> item, ComponentChanges components)
m_teqbcvvp(com.mojang.brigadier.StringReader reader, Holder<Item> arg1, DataComponentPatch patch)
m_323692_(com.mojang.brigadier.StringReader p_331709_, C_203228_<C_1381_> p_331328_, C_313461_ p_344694_)
public void
a(com.mojang.brigadier.StringReader arg0, he$d arg1)
parse(com.mojang.brigadier.StringReader arg0, ItemParser$Visitor arg1)
method_58517(com.mojang.brigadier.StringReader arg0, class_2291$class_9219 arg1)
m_soczdarj(com.mojang.brigadier.StringReader arg0, C_aggscjva$C_uvpoavmx arg1)
consume(com.mojang.brigadier.StringReader reader, ItemStringReader$Callbacks callbacks)
m_soczdarj(com.mojang.brigadier.StringReader reader, ItemStringReader$C_uvpoavmx arg1)
m_322282_(com.mojang.brigadier.StringReader p_331669_, C_4644_$C_313565_ arg1)
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
fillSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9793(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
m_seifydji(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
getSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
getSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
m_235308_(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)