Class BlockMatch
java.lang.Object
us.talabrek.ultimateskyblock.island.level.BlockMatch
- All Implemented Interfaces:
Comparable<BlockMatch>
Holds the identification of a unit to be matched against a block
-
Constructor Details
-
BlockMatch
public BlockMatch(org.bukkit.Material type)
-
-
Method Details
-
getType
public org.bukkit.Material getType() -
asItemStack
public org.bukkit.inventory.ItemStack asItemStack() -
matches
public boolean matches(org.bukkit.Material material) -
accept
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<BlockMatch>
-