Class StringReaderParserState

java.lang.Object
net.minecraft.util.parsing.packrat.ParseState<com.mojang.brigadier.StringReader>
net.minecraft.util.parsing.packrat.commands.StringReaderParserState

public class StringReaderParserState extends ParseState<com.mojang.brigadier.StringReader>
  • Field Details

    • input

      private final com.mojang.brigadier.StringReader input
  • Constructor Details

    • StringReaderParserState

      public StringReaderParserState(Dictionary<com.mojang.brigadier.StringReader> p_328307_, ErrorCollector<com.mojang.brigadier.StringReader> p_327936_, com.mojang.brigadier.StringReader p_332446_)
  • Method Details

    • input

      public com.mojang.brigadier.StringReader input()
      Specified by:
      input in class ParseState<com.mojang.brigadier.StringReader>
    • mark

      public int mark()
      Specified by:
      mark in class ParseState<com.mojang.brigadier.StringReader>
    • restore

      public void restore(int p_331895_)
      Specified by:
      restore in class ParseState<com.mojang.brigadier.StringReader>