java.lang.Object
com.moyskleytech.obsidian.material.implementations.adapters.SlimeFunAdapter
- All Implemented Interfaces:
Adapter
Adapter for Slimefun support
-
Constructor Summary
Constructors
Required constructor that throws if Slimefun is missing
-
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
-
SlimeFunAdapter
public SlimeFunAdapter()
Required constructor that throws if Slimefun is missing
-
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
-
-
-