Class NbtParsingRule

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

public class NbtParsingRule extends Object implements ParsingRule<com.mojang.brigadier.StringReader,NbtElement>
Mappings:
Namespace Name
named net/minecraft/command/argument/packrat/NbtParsingRule
intermediary net/minecraft/class_9416
official bna
  • Field Details

    • INSTANCE

      public static final ParsingRule<com.mojang.brigadier.StringReader,NbtElement> INSTANCE
      Mappings:
      Namespace Name Mixin selector
      named INSTANCE Lnet/minecraft/command/argument/packrat/NbtParsingRule;INSTANCE:Lnet/minecraft/command/argument/packrat/ParsingRule;
      intermediary field_49971 Lnet/minecraft/class_9416;field_49971:Lnet/minecraft/class_9396;
      official a Lbna;a:Lbmq;
  • Constructor Details

    • NbtParsingRule

      private NbtParsingRule()
  • Method Details

    • parse

      public Optional<NbtElement> parse(ParsingState<com.mojang.brigadier.StringReader> state)
      Specified by:
      parse in interface ParsingRule<com.mojang.brigadier.StringReader,NbtElement>
      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 Lbmq;a(Lbmp;)Ljava/util/Optional;