blob: fb9a043404d1ba8faa3afd6f55422ff89876bd8b [file] [log] [blame] [raw]
package net.glowstone.inventory;
import org.bukkit.Material;
/**
* An interface for checking predicates on Materials.
*/
public interface MaterialMatcher {
/**
* Returns true if the given {@link Material} matches the conditions of this MaterialMatcher.
*
* @param material the {@link Material} to check
* @return true if it matches, false otherwise
*/
boolean matches(Material material);
}