Class OrphanHandler.Provider
java.lang.Object
johnsmith.enchantmentcore.api.config.OrphanHandler.Provider
- Enclosing interface:
OrphanHandler
Global service provider holding the active
OrphanHandler implementation.-
Method Summary
Modifier and TypeMethodDescriptionstatic OrphanHandlerget()Retrieves the active globalOrphanHandlerimplementation.static voidset(OrphanHandler handler) Assigns the globalOrphanHandlerimplementation.
-
Method Details
-
set
Assigns the globalOrphanHandlerimplementation.- Parameters:
handler- The handler implementation to install.
-
get
Retrieves the active globalOrphanHandlerimplementation.- Returns:
- The installed
OrphanHandlerinstance.
-