Class ErrorCollector.LongestOnly<S>

java.lang.Object
net.minecraft.util.parsing.packrat.ErrorCollector.LongestOnly<S>
All Implemented Interfaces:
ErrorCollector<S>
Enclosing interface:
ErrorCollector<S>

public static class ErrorCollector.LongestOnly<S> extends Object implements ErrorCollector<S>
  • Field Details

    • entries

      private final List<ErrorEntry<S>> entries
    • lastCursor

      private int lastCursor
  • Constructor Details

    • LongestOnly

      public LongestOnly()
  • Method Details

    • discardErrorsFromShorterParse

      private void discardErrorsFromShorterParse(int p_335634_)
    • finish

      public void finish(int p_335534_)
      Specified by:
      finish in interface ErrorCollector<S>
    • store

      public void store(int p_335763_, SuggestionSupplier<S> p_336144_, Object p_335736_)
      Specified by:
      store in interface ErrorCollector<S>
    • entries

      public List<ErrorEntry<S>> entries()
    • cursor

      public int cursor()