net.minecraft.commands.arguments.item

public class ItemParser

hh
net.minecraft.commands.arguments.item.ItemParser
net.minecraft.class_2291
net.minecraft.command.argument.ItemStringReader
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
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
g
ERROR_UNKNOWN_COMPONENT
field_50049
UNKNOWN_COMPONENT_EXCEPTION
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
h
ERROR_MALFORMED_COMPONENT
field_50050
MALFORMED_COMPONENT_EXCEPTION
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
i
ERROR_EXPECTED_COMPONENT
field_50051
COMPONENT_EXPECTED_EXCEPTION
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
j
ERROR_REPEATED_COMPONENT
field_50052
REPEATED_COMPONENT_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
k
ERROR_MALFORMED_ITEM
field_51458
MALFORMED_ITEM_EXCEPTION
public static final char
a
SYNTAX_START_COMPONENTS
field_50044
OPEN_SQUARE_BRACKET
public static final char
b
SYNTAX_END_COMPONENTS
field_50045
CLOSED_SQUARE_BRACKET
public static final char
c
SYNTAX_COMPONENT_SEPARATOR
field_50046
COMMA
public static final char
d
SYNTAX_COMPONENT_ASSIGNMENT
field_50047
EQUAL_SIGN
public static final char
e
SYNTAX_REMOVED_COMPONENT
field_51831
EXCLAMATION_MARK
static final Function<com.mojang.brigadier.suggestion.SuggestionsBuilder, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
l
SUGGEST_NOTHING
field_50053
SUGGEST_DEFAULT
final HolderLookup$RegistryLookup<Item>
m
items
field_50054
itemRegistry
final com.mojang.serialization.DynamicOps<Tag>
n
registryOps
field_50055
nbtOps

Constructor summary

ModifierConstructor
public (HolderLookup$Provider registries)

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)
private static void
a(com.mojang.brigadier.StringReader arg0, jq<cxl> arg1, kr 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)
public void
a(com.mojang.brigadier.StringReader arg0, hh$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)
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)