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_336091_, ErrorCollector<com.mojang.brigadier.StringReader> p_335915_, com.mojang.brigadier.StringReader p_335601_)
  • 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_335710_)
      Specified by:
      restore in class ParseState<com.mojang.brigadier.StringReader>