Class SearchData

java.lang.Object
de.placeblock.betterinventories.content.SearchData

public class SearchData extends Object
Returned by search methods.
  • Constructor Details

    • SearchData

      public SearchData(int slot, SearchPredicate predicate)
      Creates new SearchData with initial values
      Parameters:
      slot - The slot to search for
      predicate - The predicate that is executed for each pane
  • Method Details

    • addNode

      public void addNode(GUIPane pane)
      Adds a new node to the path. Must be updated by every pane if it passes this object to its children.
      Parameters:
      pane - The node