Class CrafterInteractorManager
java.lang.Object
com.xzavier0722.mc.plugin.slimefun4.autocrafter.CrafterInteractorManager
This manager provide accessibility to custom interactors.
- Author:
- Xzavier0722
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CrafterInteractorHandler
getHandler
(String id) static CrafterInteractable
getInteractor
(org.bukkit.block.Block b) static boolean
hasInterator
(org.bukkit.block.Block b) static void
register
(String id, CrafterInteractorHandler handler) Register the specific slimefun item as crafter interactor.
-
Constructor Details
-
CrafterInteractorManager
public CrafterInteractorManager()
-
-
Method Details
-
register
Register the specific slimefun item as crafter interactor.- Parameters:
id
- : the id of the slimefun item that will be registered as interactor.handler
- : way to get theCrafterInteractable
implementation.- See Also:
-
getHandler
-
getInteractor
-
hasInterator
public static boolean hasInterator(org.bukkit.block.Block b)
-