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_331637_)
    • finish

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

      public void store(int p_331115_, SuggestionSupplier<S> p_329965_, Object p_332125_)
      Specified by:
      store in interface ErrorCollector<S>
    • entries

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

      public int cursor()