Class AnyIdParsingRule

java.lang.Object
net.minecraft.command.argument.packrat.AnyIdParsingRule
All Implemented Interfaces:
ParsingRule<com.mojang.brigadier.StringReader,Identifier>

public class AnyIdParsingRule extends Object implements ParsingRule<com.mojang.brigadier.StringReader,Identifier>
Mappings:
Namespace Name
named net/minecraft/command/argument/packrat/AnyIdParsingRule
intermediary net/minecraft/class_9409
official bpc
  • Field Details

    • INSTANCE

      public static final ParsingRule<com.mojang.brigadier.StringReader,Identifier> INSTANCE
      Mappings:
      Namespace Name Mixin selector
      named INSTANCE Lnet/minecraft/command/argument/packrat/AnyIdParsingRule;INSTANCE:Lnet/minecraft/command/argument/packrat/ParsingRule;
      intermediary field_49967 Lnet/minecraft/class_9409;field_49967:Lnet/minecraft/class_9396;
      official a Lbpc;a:Lbox;
  • Constructor Details

    • AnyIdParsingRule

      private AnyIdParsingRule()
  • Method Details

    • parse

      public Optional<Identifier> parse(ParsingState<com.mojang.brigadier.StringReader> state)
      Specified by:
      parse in interface ParsingRule<com.mojang.brigadier.StringReader,Identifier>
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/command/argument/packrat/ParsingRule;parse(Lnet/minecraft/command/argument/packrat/ParsingState;)Ljava/util/Optional;
      intermediary method_58318 Lnet/minecraft/class_9396;method_58318(Lnet/minecraft/class_9393;)Ljava/util/Optional;
      official a Lbox;a(Lbow;)Ljava/util/Optional;