Class ModLoadEvaluator.Provider
java.lang.Object
johnsmith.enchantmentcore.api.config.ModLoadEvaluator.Provider
- Enclosing interface:
ModLoadEvaluator
Global service provider holding the platform-specific
ModLoadEvaluator implementation.-
Method Summary
Modifier and TypeMethodDescriptionstatic ModLoadEvaluatorget()Retrieves the active globalModLoadEvaluatorimplementation.static voidset(ModLoadEvaluator evaluator) Assigns the globalModLoadEvaluatorimplementation for the current mod loader platform.
-
Method Details
-
set
Assigns the globalModLoadEvaluatorimplementation for the current mod loader platform.- Parameters:
evaluator- The platform-specific evaluator implementation.
-
get
Retrieves the active globalModLoadEvaluatorimplementation.- Returns:
- The installed
ModLoadEvaluatorinstance.
-