Interface PartialSearch.PartialSearchResult

  • All Implemented Interfaces:

    
    public interface PartialSearch.PartialSearchResult
    
                        

    The common interface for a single partial-search result entry.

    Each instance represents one candidate recipe together with the match information derived from comparing the current CraftView against that recipe.

    Since:

    5.0.21

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Set<CoordinateComponent> matched() Returns the set of recipe slot coordinates that are covered by at least one input item.
      abstract Set<CoordinateComponent> notEnough() Returns the set of recipe slot coordinates that have no matching input item.
      PartialSearch.MatchState state() Returns the MatchState for this result.
      abstract CRecipe getRecipe() The candidate recipe that was evaluated.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait