Class JsonReaderUtils

java.lang.Object
net.minecraft.util.JsonReaderUtils

public class JsonReaderUtils extends Object
Mappings:
Namespace Name
named net/minecraft/util/JsonReaderUtils
intermediary net/minecraft/class_9010
official fa
  • Field Details

    • POS

      private static final Field POS
      Mappings:
      Namespace Name Mixin selector
      named POS Lnet/minecraft/util/JsonReaderUtils;POS:Ljava/lang/reflect/Field;
      intermediary field_47525 Lnet/minecraft/class_9010;field_47525:Ljava/lang/reflect/Field;
      official a Lfa;a:Ljava/lang/reflect/Field;
    • LINE_START

      private static final Field LINE_START
      Mappings:
      Namespace Name Mixin selector
      named LINE_START Lnet/minecraft/util/JsonReaderUtils;LINE_START:Ljava/lang/reflect/Field;
      intermediary field_47526 Lnet/minecraft/class_9010;field_47526:Ljava/lang/reflect/Field;
      official b Lfa;b:Ljava/lang/reflect/Field;
  • Constructor Details

    • JsonReaderUtils

      public JsonReaderUtils()
  • Method Details

    • getPos

      private static int getPos(JsonReader jsonReader)
      Mappings:
      Namespace Name Mixin selector
      named getPos Lnet/minecraft/util/JsonReaderUtils;getPos(Lcom/google/gson/stream/JsonReader;)I
      intermediary method_55376 Lnet/minecraft/class_9010;method_55376(Lcom/google/gson/stream/JsonReader;)I
      official a Lfa;a(Lcom/google/gson/stream/JsonReader;)I
    • parse

      public static <T> T parse(RegistryWrapper.WrapperLookup registries, com.mojang.brigadier.StringReader stringReader, com.mojang.serialization.Codec<T> codec)
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/util/JsonReaderUtils;parse(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;Lcom/mojang/brigadier/StringReader;Lcom/mojang/serialization/Codec;)Ljava/lang/Object;
      intermediary method_55377 Lnet/minecraft/class_9010;method_55377(Lnet/minecraft/class_7225$class_7874;Lcom/mojang/brigadier/StringReader;Lcom/mojang/serialization/Codec;)Ljava/lang/Object;
      official a Lfa;a(Ljs$a;Lcom/mojang/brigadier/StringReader;Lcom/mojang/serialization/Codec;)Ljava/lang/Object;
    • readWhileMatching

      public static String readWhileMatching(com.mojang.brigadier.StringReader stringReader, CharPredicate predicate)
      Mappings:
      Namespace Name Mixin selector
      named readWhileMatching Lnet/minecraft/util/JsonReaderUtils;readWhileMatching(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/util/function/CharPredicate;)Ljava/lang/String;
      intermediary method_58128 Lnet/minecraft/class_9010;method_58128(Lcom/mojang/brigadier/StringReader;Lnet/minecraft/class_5462;)Ljava/lang/String;
      official a Lfa;a(Lcom/mojang/brigadier/StringReader;Lm;)Ljava/lang/String;