blob: 3880a5f0cf6166f05cec2fd17af7980c366884d1 [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);
}