Interface RecipeCollection.Source<T,G>

All Known Implementing Classes:
CreativeCatalog.CollectionSource
Enclosing class:
RecipeCollection<T,G>

public static interface RecipeCollection.Source<T,G>
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    evaluate(T entry)
     
    group(T entry)
    Return a stable catalog object for an eligible native group, or null for an individual item.
    boolean
    sameHeader(G first, G second)
     
    default boolean
    valid(T entry)
     
  • Method Details

    • evaluate

      int evaluate(T entry)
    • valid

      default boolean valid(T entry)
    • group

      G group(T entry)
      Return a stable catalog object for an eligible native group, or null for an individual item.
    • sameHeader

      boolean sameHeader(G first, G second)