Interface MaterialMatcher

All Known Implementing Classes:
ClothType, MaterialToolType, ToolType

public interface MaterialMatcher
An interface for checking predicates on Materials.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    matches(org.bukkit.Material material)
    Returns true if the given Material matches the conditions of this MaterialMatcher.
  • Method Details

    • matches

      boolean matches(org.bukkit.Material material)
      Returns true if the given Material matches the conditions of this MaterialMatcher.
      Parameters:
      material - the Material to check
      Returns:
      true if it matches, false otherwise