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_313929_)
    • parseJson

      public static <T> T parseJson(HolderLookup.Provider p_323581_, com.mojang.brigadier.StringReader p_313786_, com.mojang.serialization.Codec<T> p_313876_)
    • readWhile

      public static String readWhile(com.mojang.brigadier.StringReader p_332772_, CharPredicate p_332664_)