Interface IConfigHelper
- All Known Implementing Classes:
NeoforgeConfigHelper
public interface IConfigHelper
Common configuration helper service interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanDefault value of the infinity enchantment enabled optionstatic final StringConfig description of the infinity enchantment enabled option -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()Initialization method for the Service implementations.booleanGets the configured infinity enchantment enabled option value.
-
Field Details
-
INFINITY_ENCHANTMENT_ENABLED_DEFAULT
static final boolean INFINITY_ENCHANTMENT_ENABLED_DEFAULTDefault value of the infinity enchantment enabled option- See Also:
-
INFINITY_ENCHANTMENT_ENABLED_DESCRIPTION
Config description of the infinity enchantment enabled option
-
-
Method Details
-
init
void init()Initialization method for the Service implementations. -
isInfinityEnchantmentEnabled
boolean isInfinityEnchantmentEnabled()Gets the configured infinity enchantment enabled option value.- Returns:
- configured infinity enchantment enabled option value
-