java.lang.Object
com.moyskleytech.obsidian.material.implementations.adapters.BookAdapter
- All Implemented Interfaces:
Adapter
Adapter for BookMaterial
-
Constructor Summary
Constructors
Create a adapter for parsing
-
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
-
BookAdapter
public BookAdapter()
Create a adapter for parsing
-
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
-
-
-