java.lang.Object
com.moyskleytech.obsidian.material.implementations.adapters.BukkitRegistryAdapter
- All Implemented Interfaces:
Adapter
public class BukkitRegistryAdapter
extends Object
implements Adapter
Adapter for bukkit material
-
Constructor Summary
Constructors
-
Method Summary
tryMatch(org.bukkit.block.data.BlockData stack)
tryMatch(org.bukkit.inventory.ItemStack stack)
Try parsing a string as material using the specified adapter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BukkitRegistryAdapter
public BukkitRegistryAdapter()
-
Method Details
-
tryParse
Description copied from interface: Adapter
Try parsing a string as material using the specified adapter
- Specified by:
tryParse in interface Adapter
- Parameters:
materialString - The String to parse
- Returns:
- Maybe the material
-
-
-