net.minecraft.commands.arguments.item

public class ItemParser

he
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
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
f
ERROR_UNKNOWN_ITEM
field_50048
INVALID_ITEM_ID_EXCEPTION
f_120992_
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
g
ERROR_UNKNOWN_COMPONENT
field_50049
UNKNOWN_COMPONENT_EXCEPTION
f_315145_
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
h
ERROR_MALFORMED_COMPONENT
field_50050
MALFORMED_COMPONENT_EXCEPTION
f_315026_
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
i
ERROR_EXPECTED_COMPONENT
field_50051
COMPONENT_EXPECTED_EXCEPTION
f_316029_
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
j
ERROR_REPEATED_COMPONENT
field_50052
REPEATED_COMPONENT_EXCEPTION
f_316330_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
k
ERROR_MALFORMED_ITEM
field_51458
MALFORMED_ITEM_EXCEPTION
f_316165_
public static final char
a
SYNTAX_START_COMPONENTS
field_50044
OPEN_SQUARE_BRACKET
f_316864_
public static final char
b
SYNTAX_END_COMPONENTS
field_50045
CLOSED_SQUARE_BRACKET
f_314470_
public static final char
c
SYNTAX_COMPONENT_SEPARATOR
field_50046
COMMA
f_316986_
public static final char
d
SYNTAX_COMPONENT_ASSIGNMENT
field_50047
EQUAL_SIGN
f_317037_
public static final char
e
SYNTAX_REMOVED_COMPONENT
field_51831
EXCLAMATION_MARK
f_336985_
static final Function<com.mojang.brigadier.suggestion.SuggestionsBuilder, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
l
SUGGEST_NOTHING
field_50053
SUGGEST_DEFAULT
f_120993_
final HolderLookup$RegistryLookup<Item>
m
items
field_50054
itemRegistry
f_235287_
final com.mojang.serialization.DynamicOps<Tag>
n
registryOps
field_50055
nbtOps
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)
consume(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)
validate(com.mojang.brigadier.StringReader reader, RegistryEntry<Item> item, ComponentChanges components)
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)
consume(com.mojang.brigadier.StringReader reader, ItemStringReader$Callbacks callbacks)
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)
getSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
m_235308_(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)