Class ParserUtils

java.lang.Object
net.minecraft.commands.ParserUtils

public class ParserUtils extends Object
  • Field Details

    • JSON_READER_POS

      private static final Field JSON_READER_POS
    • JSON_READER_LINESTART

      private static final Field JSON_READER_LINESTART
  • Constructor Details

    • ParserUtils

      public ParserUtils()
  • Method Details

    • getPos

      private static int getPos(com.google.gson.stream.JsonReader p_311647_)
    • parseJson

      public static <T> T parseJson(HolderLookup.Provider p_330013_, com.mojang.brigadier.StringReader p_311860_, com.mojang.serialization.Codec<T> p_311403_)
    • readWhile

      public static String readWhile(com.mojang.brigadier.StringReader p_333885_, CharPredicate p_328669_)