Package net.minecraft.command.argument
Class ItemStringReader
java.lang.Object
net.minecraft.command.argument.ItemStringReader
- Mappings:
Namespace Name named net/minecraft/command/argument/ItemStringReader
intermediary net/minecraft/class_2291
official ha
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static final record
private class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final char
static final char
(package private) static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final char
(package private) static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
(package private) final RegistryWrapper.Impl
<Item> (package private) static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
(package private) final com.mojang.serialization.DynamicOps
<NbtElement> static final char
(package private) static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
(package private) static final Function
<com.mojang.brigadier.suggestion.SuggestionsBuilder, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> (package private) static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconsume
(com.mojang.brigadier.StringReader reader) void
consume
(com.mojang.brigadier.StringReader reader, ItemStringReader.Callbacks callbacks) CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> getSuggestions
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private static void
validate
(com.mojang.brigadier.StringReader reader, RegistryEntry<Item> item, ComponentMap components)
-
Field Details
-
INVALID_ITEM_ID_EXCEPTION
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_ITEM_ID_EXCEPTION- Mappings:
Namespace Name Mixin selector named INVALID_ITEM_ID_EXCEPTION
Lnet/minecraft/command/argument/ItemStringReader;INVALID_ITEM_ID_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_50048
Lnet/minecraft/class_2291;field_50048:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official e
Lha;e:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
UNKNOWN_COMPONENT_EXCEPTION
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_COMPONENT_EXCEPTION- Mappings:
Namespace Name Mixin selector named UNKNOWN_COMPONENT_EXCEPTION
Lnet/minecraft/command/argument/ItemStringReader;UNKNOWN_COMPONENT_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_50049
Lnet/minecraft/class_2291;field_50049:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official f
Lha;f:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
MALFORMED_COMPONENT_EXCEPTION
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType MALFORMED_COMPONENT_EXCEPTION- Mappings:
Namespace Name Mixin selector named MALFORMED_COMPONENT_EXCEPTION
Lnet/minecraft/command/argument/ItemStringReader;MALFORMED_COMPONENT_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
intermediary field_50050
Lnet/minecraft/class_2291;field_50050:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
official g
Lha;g:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
-
COMPONENT_EXPECTED_EXCEPTION
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType COMPONENT_EXPECTED_EXCEPTION- Mappings:
Namespace Name Mixin selector named COMPONENT_EXPECTED_EXCEPTION
Lnet/minecraft/command/argument/ItemStringReader;COMPONENT_EXPECTED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_50051
Lnet/minecraft/class_2291;field_50051:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official h
Lha;h:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
REPEATED_COMPONENT_EXCEPTION
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType REPEATED_COMPONENT_EXCEPTION- Mappings:
Namespace Name Mixin selector named REPEATED_COMPONENT_EXCEPTION
Lnet/minecraft/command/argument/ItemStringReader;REPEATED_COMPONENT_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_50052
Lnet/minecraft/class_2291;field_50052:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official i
Lha;i:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
MALFORMED_ITEM_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType MALFORMED_ITEM_EXCEPTION- Mappings:
Namespace Name Mixin selector named MALFORMED_ITEM_EXCEPTION
Lnet/minecraft/command/argument/ItemStringReader;MALFORMED_ITEM_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_51458
Lnet/minecraft/class_2291;field_51458:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
official j
Lha;j:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
OPEN_SQUARE_BRACKET
public static final char OPEN_SQUARE_BRACKET- See Also:
- Mappings:
Namespace Name Mixin selector named OPEN_SQUARE_BRACKET
Lnet/minecraft/command/argument/ItemStringReader;OPEN_SQUARE_BRACKET:C
intermediary field_50044
Lnet/minecraft/class_2291;field_50044:C
official a
Lha;a:C
-
CLOSED_SQUARE_BRACKET
public static final char CLOSED_SQUARE_BRACKET- See Also:
- Mappings:
Namespace Name Mixin selector named CLOSED_SQUARE_BRACKET
Lnet/minecraft/command/argument/ItemStringReader;CLOSED_SQUARE_BRACKET:C
intermediary field_50045
Lnet/minecraft/class_2291;field_50045:C
official b
Lha;b:C
-
COMMA
public static final char COMMA- See Also:
- Mappings:
Namespace Name Mixin selector named COMMA
Lnet/minecraft/command/argument/ItemStringReader;COMMA:C
intermediary field_50046
Lnet/minecraft/class_2291;field_50046:C
official c
Lha;c:C
-
EQUAL_SIGN
public static final char EQUAL_SIGN- See Also:
- Mappings:
Namespace Name Mixin selector named EQUAL_SIGN
Lnet/minecraft/command/argument/ItemStringReader;EQUAL_SIGN:C
intermediary field_50047
Lnet/minecraft/class_2291;field_50047:C
official d
Lha;d:C
-
SUGGEST_DEFAULT
static final Function<com.mojang.brigadier.suggestion.SuggestionsBuilder,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> SUGGEST_DEFAULT- Mappings:
Namespace Name Mixin selector named SUGGEST_DEFAULT
Lnet/minecraft/command/argument/ItemStringReader;SUGGEST_DEFAULT:Ljava/util/function/Function;
intermediary field_50053
Lnet/minecraft/class_2291;field_50053:Ljava/util/function/Function;
official k
Lha;k:Ljava/util/function/Function;
-
itemRegistry
- Mappings:
Namespace Name Mixin selector named itemRegistry
Lnet/minecraft/command/argument/ItemStringReader;itemRegistry:Lnet/minecraft/registry/RegistryWrapper$Impl;
intermediary field_50054
Lnet/minecraft/class_2291;field_50054:Lnet/minecraft/class_7225$class_7226;
official l
Lha;l:Ljk$b;
-
nbtOps
- Mappings:
Namespace Name Mixin selector named nbtOps
Lnet/minecraft/command/argument/ItemStringReader;nbtOps:Lcom/mojang/serialization/DynamicOps;
intermediary field_50055
Lnet/minecraft/class_2291;field_50055:Lcom/mojang/serialization/DynamicOps;
official m
Lha;m:Lcom/mojang/serialization/DynamicOps;
-
-
Constructor Details
-
ItemStringReader
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/command/argument/ItemStringReader;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
intermediary <init>
Lnet/minecraft/class_2291;<init>(Lnet/minecraft/class_7225$class_7874;)V
official <init>
Lha;<init>(Ljk$a;)V
-
-
Method Details
-
consume
public ItemStringReader.ItemResult consume(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named consume
Lnet/minecraft/command/argument/ItemStringReader;consume(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/ItemStringReader$ItemResult;
intermediary method_9789
Lnet/minecraft/class_2291;method_9789(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2291$class_7215;
official a
Lha;a(Lcom/mojang/brigadier/StringReader;)Lha$a;
-
validate
private static void validate(com.mojang.brigadier.StringReader reader, RegistryEntry<Item> item, ComponentMap components) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named validate
Lnet/minecraft/command/argument/ItemStringReader;validate(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/component/ComponentMap;)V
intermediary method_59769
Lnet/minecraft/class_2291;method_59769(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/class_6880;Lnet/minecraft/class_9323;)V
official a
Lha;a(Lcom/mojang/brigadier/StringReader;Lji;Lki;)V
-
consume
public void consume(com.mojang.brigadier.StringReader reader, ItemStringReader.Callbacks callbacks) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named consume
Lnet/minecraft/command/argument/ItemStringReader;consume(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/command/argument/ItemStringReader$Callbacks;)V
intermediary method_58517
Lnet/minecraft/class_2291;method_58517(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/class_2291$class_9219;)V
official a
Lha;a(Lcom/mojang/brigadier/StringReader;Lha$d;)V
-
getSuggestions
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> getSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector named getSuggestions
Lnet/minecraft/command/argument/ItemStringReader;getSuggestions(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_9793
Lnet/minecraft/class_2291;method_9793(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
official a
Lha;a(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-