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 CrafterInteractorHandlergetHandler(String id) static CrafterInteractablegetInteractor(org.bukkit.block.Block b) static booleanhasInterator(org.bukkit.block.Block b) static voidregister(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 theCrafterInteractableimplementation.- See Also:
-
getHandler
-
getInteractor
-
hasInterator
public static boolean hasInterator(org.bukkit.block.Block b)
-