Package net.minecraft.command.argument
Class BlockArgumentParser
java.lang.Object
net.minecraft.command.argument.BlockArgumentParser
- Mappings:
Namespace Name official ff
intermediary net/minecraft/class_2259
named net/minecraft/command/argument/BlockArgumentParser
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final boolean
private Identifier
private final Map<Property<?>,
Comparable<?>> private @Nullable BlockState
private @Nullable NbtCompound
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType
private static final char
private static final char
private static final char
private static final char
private static final char
private final com.mojang.brigadier.StringReader
private final CommandRegistryWrapper<Block>
private @Nullable StateManager<Block,
BlockState> private static final Function<com.mojang.brigadier.suggestion.SuggestionsBuilder,
CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> private Function<com.mojang.brigadier.suggestion.SuggestionsBuilder,
CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> private static final char
private @Nullable RegistryEntryList<Block>
static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
-
Constructor Summary
ModifierConstructorDescriptionprivate
BlockArgumentParser
(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowTag, boolean allowSnbt) -
Method Summary
Modifier and TypeMethodDescriptionblock
(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowSnbt) static com.mojang.datafixers.util.Either<BlockArgumentParser.BlockResult,
BlockArgumentParser.TagResult> blockOrTag
(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowSnbt) static com.mojang.datafixers.util.Either<BlockArgumentParser.BlockResult,
BlockArgumentParser.TagResult> blockOrTag
(Registry<Block> registry, com.mojang.brigadier.StringReader reader, boolean allowSnbt) static com.mojang.datafixers.util.Either<BlockArgumentParser.BlockResult,
BlockArgumentParser.TagResult> blockOrTag
(Registry<Block> registry, String string, boolean allowSnbt) static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
getSuggestions
(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, boolean allowTag, boolean allowSnbt) private boolean
private void
parse()
private void
private void
private <T extends Comparable<T>>
voidparsePropertyValue
(Property<T> property, String value, int cursor) private void
private void
private void
static String
stringifyBlockState
(BlockState state) private static <T extends Comparable<T>>
voidstringifyProperty
(StringBuilder builder, Property<T> property, Comparable<?> value) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestBlockId
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestBlockOrTagId
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestBlockProperties
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestBlockPropertiesOrEnd
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestCommaOrEnd
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestEqualsCharacter
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestIdentifiers
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private static <T extends Comparable<T>>
com.mojang.brigadier.suggestion.SuggestionsBuildersuggestPropertyValues
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Property<T> property) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestSnbt
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestSnbtOrBlockProperties
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestSnbtOrTagProperties
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestTagProperties
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestTagPropertiesOrEnd
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestTagPropertyValues
(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, String name)
-
Field Details
-
DISALLOWED_TAG_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType DISALLOWED_TAG_EXCEPTION- Mappings:
Namespace Name Mixin selector official a
Lff;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_10691
Lnet/minecraft/class_2259;field_10691:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named DISALLOWED_TAG_EXCEPTION
Lnet/minecraft/command/argument/BlockArgumentParser;DISALLOWED_TAG_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
INVALID_BLOCK_ID_EXCEPTION
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_BLOCK_ID_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Lff;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_10690
Lnet/minecraft/class_2259;field_10690:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named INVALID_BLOCK_ID_EXCEPTION
Lnet/minecraft/command/argument/BlockArgumentParser;INVALID_BLOCK_ID_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
UNKNOWN_PROPERTY_EXCEPTION
public static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType UNKNOWN_PROPERTY_EXCEPTION- Mappings:
Namespace Name Mixin selector official c
Lff;c:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
intermediary field_10695
Lnet/minecraft/class_2259;field_10695:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
named UNKNOWN_PROPERTY_EXCEPTION
Lnet/minecraft/command/argument/BlockArgumentParser;UNKNOWN_PROPERTY_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
-
DUPLICATE_PROPERTY_EXCEPTION
public static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType DUPLICATE_PROPERTY_EXCEPTION- Mappings:
Namespace Name Mixin selector official d
Lff;d:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
intermediary field_10692
Lnet/minecraft/class_2259;field_10692:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
named DUPLICATE_PROPERTY_EXCEPTION
Lnet/minecraft/command/argument/BlockArgumentParser;DUPLICATE_PROPERTY_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
-
INVALID_PROPERTY_EXCEPTION
public static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType INVALID_PROPERTY_EXCEPTION- Mappings:
Namespace Name Mixin selector official e
Lff;e:Lcom/mojang/brigadier/exceptions/Dynamic3CommandExceptionType;
intermediary field_10683
Lnet/minecraft/class_2259;field_10683:Lcom/mojang/brigadier/exceptions/Dynamic3CommandExceptionType;
named INVALID_PROPERTY_EXCEPTION
Lnet/minecraft/command/argument/BlockArgumentParser;INVALID_PROPERTY_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic3CommandExceptionType;
-
EMPTY_PROPERTY_EXCEPTION
public static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType EMPTY_PROPERTY_EXCEPTION- Mappings:
Namespace Name Mixin selector official f
Lff;f:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
intermediary field_10688
Lnet/minecraft/class_2259;field_10688:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
named EMPTY_PROPERTY_EXCEPTION
Lnet/minecraft/command/argument/BlockArgumentParser;EMPTY_PROPERTY_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
-
UNCLOSED_PROPERTIES_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType UNCLOSED_PROPERTIES_EXCEPTION- Mappings:
Namespace Name Mixin selector official g
Lff;g:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_10684
Lnet/minecraft/class_2259;field_10684:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
named UNCLOSED_PROPERTIES_EXCEPTION
Lnet/minecraft/command/argument/BlockArgumentParser;UNCLOSED_PROPERTIES_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
UNKNOWN_BLOCK_TAG_EXCEPTION
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_BLOCK_TAG_EXCEPTION- Mappings:
Namespace Name Mixin selector official h
Lff;h:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
intermediary field_37965
Lnet/minecraft/class_2259;field_37965:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
named UNKNOWN_BLOCK_TAG_EXCEPTION
Lnet/minecraft/command/argument/BlockArgumentParser;UNKNOWN_BLOCK_TAG_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
PROPERTIES_OPENING
private static final char PROPERTIES_OPENING- See Also:
- Mappings:
Namespace Name Mixin selector official i
Lff;i:C
intermediary field_32800
Lnet/minecraft/class_2259;field_32800:C
named PROPERTIES_OPENING
Lnet/minecraft/command/argument/BlockArgumentParser;PROPERTIES_OPENING:C
-
NBT_OPENING
private static final char NBT_OPENING- See Also:
- Mappings:
Namespace Name Mixin selector official j
Lff;j:C
intermediary field_32801
Lnet/minecraft/class_2259;field_32801:C
named NBT_OPENING
Lnet/minecraft/command/argument/BlockArgumentParser;NBT_OPENING:C
-
PROPERTIES_CLOSING
private static final char PROPERTIES_CLOSING- See Also:
- Mappings:
Namespace Name Mixin selector official k
Lff;k:C
intermediary field_32802
Lnet/minecraft/class_2259;field_32802:C
named PROPERTIES_CLOSING
Lnet/minecraft/command/argument/BlockArgumentParser;PROPERTIES_CLOSING:C
-
PROPERTY_DEFINER
private static final char PROPERTY_DEFINER- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lff;l:C
intermediary field_32803
Lnet/minecraft/class_2259;field_32803:C
named PROPERTY_DEFINER
Lnet/minecraft/command/argument/BlockArgumentParser;PROPERTY_DEFINER:C
-
PROPERTY_SEPARATOR
private static final char PROPERTY_SEPARATOR- See Also:
- Mappings:
Namespace Name Mixin selector official m
Lff;m:C
intermediary field_32804
Lnet/minecraft/class_2259;field_32804:C
named PROPERTY_SEPARATOR
Lnet/minecraft/command/argument/BlockArgumentParser;PROPERTY_SEPARATOR:C
-
TAG_PREFIX
private static final char TAG_PREFIX- See Also:
- Mappings:
Namespace Name Mixin selector official n
Lff;n:C
intermediary field_32805
Lnet/minecraft/class_2259;field_32805:C
named TAG_PREFIX
Lnet/minecraft/command/argument/BlockArgumentParser;TAG_PREFIX:C
-
SUGGEST_DEFAULT
private static final Function<com.mojang.brigadier.suggestion.SuggestionsBuilder,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> SUGGEST_DEFAULT- Mappings:
Namespace Name Mixin selector official o
Lff;o:Ljava/util/function/Function;
intermediary field_10682
Lnet/minecraft/class_2259;field_10682:Ljava/util/function/Function;
named SUGGEST_DEFAULT
Lnet/minecraft/command/argument/BlockArgumentParser;SUGGEST_DEFAULT:Ljava/util/function/Function;
-
registryWrapper
- Mappings:
Namespace Name Mixin selector official p
Lff;p:Lhd;
intermediary field_37966
Lnet/minecraft/class_2259;field_37966:Lnet/minecraft/class_7225;
named registryWrapper
Lnet/minecraft/command/argument/BlockArgumentParser;registryWrapper:Lnet/minecraft/command/CommandRegistryWrapper;
-
reader
private final com.mojang.brigadier.StringReader reader- Mappings:
Namespace Name Mixin selector official q
Lff;q:Lcom/mojang/brigadier/StringReader;
intermediary field_10698
Lnet/minecraft/class_2259;field_10698:Lcom/mojang/brigadier/StringReader;
named reader
Lnet/minecraft/command/argument/BlockArgumentParser;reader:Lcom/mojang/brigadier/StringReader;
-
allowTag
private final boolean allowTag- Mappings:
Namespace Name Mixin selector official r
Lff;r:Z
intermediary field_10687
Lnet/minecraft/class_2259;field_10687:Z
named allowTag
Lnet/minecraft/command/argument/BlockArgumentParser;allowTag:Z
-
allowSnbt
private final boolean allowSnbt- Mappings:
Namespace Name Mixin selector official s
Lff;s:Z
intermediary field_37967
Lnet/minecraft/class_2259;field_37967:Z
named allowSnbt
Lnet/minecraft/command/argument/BlockArgumentParser;allowSnbt:Z
-
blockProperties
- Mappings:
Namespace Name Mixin selector official t
Lff;t:Ljava/util/Map;
intermediary field_10699
Lnet/minecraft/class_2259;field_10699:Ljava/util/Map;
named blockProperties
Lnet/minecraft/command/argument/BlockArgumentParser;blockProperties:Ljava/util/Map;
-
tagProperties
- Mappings:
Namespace Name Mixin selector official u
Lff;u:Ljava/util/Map;
intermediary field_10685
Lnet/minecraft/class_2259;field_10685:Ljava/util/Map;
named tagProperties
Lnet/minecraft/command/argument/BlockArgumentParser;tagProperties:Ljava/util/Map;
-
blockId
- Mappings:
Namespace Name Mixin selector official v
Lff;v:Laaj;
intermediary field_10697
Lnet/minecraft/class_2259;field_10697:Lnet/minecraft/class_2960;
named blockId
Lnet/minecraft/command/argument/BlockArgumentParser;blockId:Lnet/minecraft/util/Identifier;
-
stateFactory
- Mappings:
Namespace Name Mixin selector official w
Lff;w:Lcus;
intermediary field_10689
Lnet/minecraft/class_2259;field_10689:Lnet/minecraft/class_2689;
named stateFactory
Lnet/minecraft/command/argument/BlockArgumentParser;stateFactory:Lnet/minecraft/state/StateManager;
-
blockState
- Mappings:
Namespace Name Mixin selector official x
Lff;x:Lcur;
intermediary field_10686
Lnet/minecraft/class_2259;field_10686:Lnet/minecraft/class_2680;
named blockState
Lnet/minecraft/command/argument/BlockArgumentParser;blockState:Lnet/minecraft/block/BlockState;
-
data
- Mappings:
Namespace Name Mixin selector official y
Lff;y:Lpj;
intermediary field_10693
Lnet/minecraft/class_2259;field_10693:Lnet/minecraft/class_2487;
named data
Lnet/minecraft/command/argument/BlockArgumentParser;data:Lnet/minecraft/nbt/NbtCompound;
-
tagId
- Mappings:
Namespace Name Mixin selector official z
Lff;z:Lhe;
intermediary field_10681
Lnet/minecraft/class_2259;field_10681:Lnet/minecraft/class_6885;
named tagId
Lnet/minecraft/command/argument/BlockArgumentParser;tagId:Lnet/minecraft/util/registry/RegistryEntryList;
-
suggestions
private Function<com.mojang.brigadier.suggestion.SuggestionsBuilder,CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>> suggestions- Mappings:
Namespace Name Mixin selector official A
Lff;A:Ljava/util/function/Function;
intermediary field_10696
Lnet/minecraft/class_2259;field_10696:Ljava/util/function/Function;
named suggestions
Lnet/minecraft/command/argument/BlockArgumentParser;suggestions:Ljava/util/function/Function;
-
-
Constructor Details
-
BlockArgumentParser
private BlockArgumentParser(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowTag, boolean allowSnbt) - Mappings:
Namespace Name Mixin selector official <init>
Lff;<init>(Lhd;Lcom/mojang/brigadier/StringReader;ZZ)V
intermediary <init>
Lnet/minecraft/class_2259;<init>(Lnet/minecraft/class_7225;Lcom/mojang/brigadier/StringReader;ZZ)V
named <init>
Lnet/minecraft/command/argument/BlockArgumentParser;<init>(Lnet/minecraft/command/CommandRegistryWrapper;Lcom/mojang/brigadier/StringReader;ZZ)V
-
-
Method Details
-
block
public static BlockArgumentParser.BlockResult block(Registry<Block> registry, String string, boolean allowSnbt) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lff;a(Lhm;Ljava/lang/String;Z)Lff$a;
intermediary method_41957
Lnet/minecraft/class_2259;method_41957(Lnet/minecraft/class_2378;Ljava/lang/String;Z)Lnet/minecraft/class_2259$class_7211;
named block
Lnet/minecraft/command/argument/BlockArgumentParser;block(Lnet/minecraft/util/registry/Registry;Ljava/lang/String;Z)Lnet/minecraft/command/argument/BlockArgumentParser$BlockResult;
-
block
public static BlockArgumentParser.BlockResult block(Registry<Block> registry, com.mojang.brigadier.StringReader reader, boolean allowSnbt) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lff;a(Lhm;Lcom/mojang/brigadier/StringReader;Z)Lff$a;
intermediary method_41956
Lnet/minecraft/class_2259;method_41956(Lnet/minecraft/class_2378;Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/class_2259$class_7211;
named block
Lnet/minecraft/command/argument/BlockArgumentParser;block(Lnet/minecraft/util/registry/Registry;Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/command/argument/BlockArgumentParser$BlockResult;
-
block
public static BlockArgumentParser.BlockResult block(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowSnbt) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lff;a(Lhd;Lcom/mojang/brigadier/StringReader;Z)Lff$a;
intermediary method_41955
Lnet/minecraft/class_2259;method_41955(Lnet/minecraft/class_7225;Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/class_2259$class_7211;
named block
Lnet/minecraft/command/argument/BlockArgumentParser;block(Lnet/minecraft/command/CommandRegistryWrapper;Lcom/mojang/brigadier/StringReader;Z)Lnet/minecraft/command/argument/BlockArgumentParser$BlockResult;
-
blockOrTag
public static com.mojang.datafixers.util.Either<BlockArgumentParser.BlockResult,BlockArgumentParser.TagResult> blockOrTag(Registry<Block> registry, String string, boolean allowSnbt) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official b
Lff;b(Lhm;Ljava/lang/String;Z)Lcom/mojang/datafixers/util/Either;
intermediary method_41962
Lnet/minecraft/class_2259;method_41962(Lnet/minecraft/class_2378;Ljava/lang/String;Z)Lcom/mojang/datafixers/util/Either;
named blockOrTag
Lnet/minecraft/command/argument/BlockArgumentParser;blockOrTag(Lnet/minecraft/util/registry/Registry;Ljava/lang/String;Z)Lcom/mojang/datafixers/util/Either;
-
blockOrTag
public static com.mojang.datafixers.util.Either<BlockArgumentParser.BlockResult,BlockArgumentParser.TagResult> blockOrTag(Registry<Block> registry, com.mojang.brigadier.StringReader reader, boolean allowSnbt) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official b
Lff;b(Lhm;Lcom/mojang/brigadier/StringReader;Z)Lcom/mojang/datafixers/util/Either;
intermediary method_41961
Lnet/minecraft/class_2259;method_41961(Lnet/minecraft/class_2378;Lcom/mojang/brigadier/StringReader;Z)Lcom/mojang/datafixers/util/Either;
named blockOrTag
Lnet/minecraft/command/argument/BlockArgumentParser;blockOrTag(Lnet/minecraft/util/registry/Registry;Lcom/mojang/brigadier/StringReader;Z)Lcom/mojang/datafixers/util/Either;
-
blockOrTag
public static com.mojang.datafixers.util.Either<BlockArgumentParser.BlockResult,BlockArgumentParser.TagResult> blockOrTag(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.StringReader reader, boolean allowSnbt) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official b
Lff;b(Lhd;Lcom/mojang/brigadier/StringReader;Z)Lcom/mojang/datafixers/util/Either;
intermediary method_41960
Lnet/minecraft/class_2259;method_41960(Lnet/minecraft/class_7225;Lcom/mojang/brigadier/StringReader;Z)Lcom/mojang/datafixers/util/Either;
named blockOrTag
Lnet/minecraft/command/argument/BlockArgumentParser;blockOrTag(Lnet/minecraft/command/CommandRegistryWrapper;Lcom/mojang/brigadier/StringReader;Z)Lcom/mojang/datafixers/util/Either;
-
getSuggestions
public static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> getSuggestions(CommandRegistryWrapper<Block> registryWrapper, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, boolean allowTag, boolean allowSnbt) - Mappings:
Namespace Name Mixin selector official a
Lff;a(Lhd;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;ZZ)Ljava/util/concurrent/CompletableFuture;
intermediary method_9666
Lnet/minecraft/class_2259;method_9666(Lnet/minecraft/class_7225;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;ZZ)Ljava/util/concurrent/CompletableFuture;
named getSuggestions
Lnet/minecraft/command/argument/BlockArgumentParser;getSuggestions(Lnet/minecraft/command/CommandRegistryWrapper;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;ZZ)Ljava/util/concurrent/CompletableFuture;
-
parse
private void parse() throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lff;a()V
intermediary method_9678
Lnet/minecraft/class_2259;method_9678()V
named parse
Lnet/minecraft/command/argument/BlockArgumentParser;parse()V
-
suggestBlockPropertiesOrEnd
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestBlockPropertiesOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector official a
Lff;a(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_9671
Lnet/minecraft/class_2259;method_9671(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named suggestBlockPropertiesOrEnd
Lnet/minecraft/command/argument/BlockArgumentParser;suggestBlockPropertiesOrEnd(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
suggestTagPropertiesOrEnd
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestTagPropertiesOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector official b
Lff;b(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_9674
Lnet/minecraft/class_2259;method_9674(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named suggestTagPropertiesOrEnd
Lnet/minecraft/command/argument/BlockArgumentParser;suggestTagPropertiesOrEnd(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
suggestBlockProperties
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestBlockProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector official c
Lff;c(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_9665
Lnet/minecraft/class_2259;method_9665(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named suggestBlockProperties
Lnet/minecraft/command/argument/BlockArgumentParser;suggestBlockProperties(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
suggestTagProperties
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestTagProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector official d
Lff;d(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_9667
Lnet/minecraft/class_2259;method_9667(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named suggestTagProperties
Lnet/minecraft/command/argument/BlockArgumentParser;suggestTagProperties(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
suggestSnbt
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestSnbt(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector official e
Lff;e(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_9687
Lnet/minecraft/class_2259;method_9687(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named suggestSnbt
Lnet/minecraft/command/argument/BlockArgumentParser;suggestSnbt(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
hasBlockEntity
private boolean hasBlockEntity()- Mappings:
Namespace Name Mixin selector official b
Lff;b()Z
intermediary method_9676
Lnet/minecraft/class_2259;method_9676()Z
named hasBlockEntity
Lnet/minecraft/command/argument/BlockArgumentParser;hasBlockEntity()Z
-
suggestEqualsCharacter
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestEqualsCharacter(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector official f
Lff;f(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_9693
Lnet/minecraft/class_2259;method_9693(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named suggestEqualsCharacter
Lnet/minecraft/command/argument/BlockArgumentParser;suggestEqualsCharacter(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
suggestCommaOrEnd
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestCommaOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector official g
Lff;g(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_9689
Lnet/minecraft/class_2259;method_9689(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named suggestCommaOrEnd
Lnet/minecraft/command/argument/BlockArgumentParser;suggestCommaOrEnd(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
suggestPropertyValues
private static <T extends Comparable<T>> com.mojang.brigadier.suggestion.SuggestionsBuilder suggestPropertyValues(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Property<T> property) - Mappings:
Namespace Name Mixin selector official a
Lff;a(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lcvu;)Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;
intermediary method_9662
Lnet/minecraft/class_2259;method_9662(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/class_2769;)Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;
named suggestPropertyValues
Lnet/minecraft/command/argument/BlockArgumentParser;suggestPropertyValues(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/state/property/Property;)Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;
-
suggestTagPropertyValues
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestTagPropertyValues(com.mojang.brigadier.suggestion.SuggestionsBuilder builder, String name) - Mappings:
Namespace Name Mixin selector official a
Lff;a(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
intermediary method_9690
Lnet/minecraft/class_2259;method_9690(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
named suggestTagPropertyValues
Lnet/minecraft/command/argument/BlockArgumentParser;suggestTagPropertyValues(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Ljava/lang/String;)Ljava/util/concurrent/CompletableFuture;
-
suggestSnbtOrTagProperties
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestSnbtOrTagProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector official h
Lff;h(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_9679
Lnet/minecraft/class_2259;method_9679(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named suggestSnbtOrTagProperties
Lnet/minecraft/command/argument/BlockArgumentParser;suggestSnbtOrTagProperties(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
suggestSnbtOrBlockProperties
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestSnbtOrBlockProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector official i
Lff;i(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_9681
Lnet/minecraft/class_2259;method_9681(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named suggestSnbtOrBlockProperties
Lnet/minecraft/command/argument/BlockArgumentParser;suggestSnbtOrBlockProperties(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
suggestIdentifiers
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestIdentifiers(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector official j
Lff;j(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_9670
Lnet/minecraft/class_2259;method_9670(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named suggestIdentifiers
Lnet/minecraft/command/argument/BlockArgumentParser;suggestIdentifiers(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
suggestBlockId
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestBlockId(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector official k
Lff;k(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_41963
Lnet/minecraft/class_2259;method_41963(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named suggestBlockId
Lnet/minecraft/command/argument/BlockArgumentParser;suggestBlockId(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
suggestBlockOrTagId
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestBlockOrTagId(com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector official l
Lff;l(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary method_9673
Lnet/minecraft/class_2259;method_9673(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named suggestBlockOrTagId
Lnet/minecraft/command/argument/BlockArgumentParser;suggestBlockOrTagId(Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
parseBlockId
private void parseBlockId() throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official c
Lff;c()V
intermediary method_9675
Lnet/minecraft/class_2259;method_9675()V
named parseBlockId
Lnet/minecraft/command/argument/BlockArgumentParser;parseBlockId()V
-
parseTagId
private void parseTagId() throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official d
Lff;d()V
intermediary method_9677
Lnet/minecraft/class_2259;method_9677()V
named parseTagId
Lnet/minecraft/command/argument/BlockArgumentParser;parseTagId()V
-
parseBlockProperties
private void parseBlockProperties() throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official e
Lff;e()V
intermediary method_9659
Lnet/minecraft/class_2259;method_9659()V
named parseBlockProperties
Lnet/minecraft/command/argument/BlockArgumentParser;parseBlockProperties()V
-
parseTagProperties
private void parseTagProperties() throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official f
Lff;f()V
intermediary method_9680
Lnet/minecraft/class_2259;method_9680()V
named parseTagProperties
Lnet/minecraft/command/argument/BlockArgumentParser;parseTagProperties()V
-
parseSnbt
private void parseSnbt() throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official g
Lff;g()V
intermediary method_9672
Lnet/minecraft/class_2259;method_9672()V
named parseSnbt
Lnet/minecraft/command/argument/BlockArgumentParser;parseSnbt()V
-
parsePropertyValue
private <T extends Comparable<T>> void parsePropertyValue(Property<T> property, String value, int cursor) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lff;a(Lcvu;Ljava/lang/String;I)V
intermediary method_9668
Lnet/minecraft/class_2259;method_9668(Lnet/minecraft/class_2769;Ljava/lang/String;I)V
named parsePropertyValue
Lnet/minecraft/command/argument/BlockArgumentParser;parsePropertyValue(Lnet/minecraft/state/property/Property;Ljava/lang/String;I)V
-
stringifyBlockState
- Mappings:
Namespace Name Mixin selector official a
Lff;a(Lcur;)Ljava/lang/String;
intermediary method_9685
Lnet/minecraft/class_2259;method_9685(Lnet/minecraft/class_2680;)Ljava/lang/String;
named stringifyBlockState
Lnet/minecraft/command/argument/BlockArgumentParser;stringifyBlockState(Lnet/minecraft/block/BlockState;)Ljava/lang/String;
-
stringifyProperty
private static <T extends Comparable<T>> void stringifyProperty(StringBuilder builder, Property<T> property, Comparable<?> value) - Mappings:
Namespace Name Mixin selector official a
Lff;a(Ljava/lang/StringBuilder;Lcvu;Ljava/lang/Comparable;)V
intermediary method_9663
Lnet/minecraft/class_2259;method_9663(Ljava/lang/StringBuilder;Lnet/minecraft/class_2769;Ljava/lang/Comparable;)V
named stringifyProperty
Lnet/minecraft/command/argument/BlockArgumentParser;stringifyProperty(Ljava/lang/StringBuilder;Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)V
-