public class GeneralConfig
extends org.cyclops.cyclopscore.config.extendedconfig.DummyConfig
| Modifier and Type | Field and Description |
|---|---|
static boolean |
analytics
If an anonymous mod startup analytics request may be sent to our analytics service.
|
static boolean |
crashOnInvalidRecipe
If the recipe loader should crash when finding invalid recipes.
|
static boolean |
crashOnModCompatCrash
If mod compatibility loader should crash hard if errors occur in that process.
|
static boolean |
debug
If the debug mode should be enabled.
|
static org.cyclops.cyclopscore.config.ConfigurableType |
TYPE
The type of this config.
|
static java.lang.String |
version
The current mod version, will be used to check if the player's config isn't out of date and
warn the player accordingly.
|
static boolean |
versionChecker
If the version checker should be enabled.
|
| Constructor and Description |
|---|
GeneralConfig()
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled() |
void |
onRegistered() |
getHolderType, getRegistry, getTranslationKeycompareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getFullTranslationKey, getMod, getNamedId, getSubInstance, getSubUniqueName, initSubInstance, isDisableable, isHardDisabled, onForgeRegistered, onInit, save, setEnabled, showDoubleInitErrorpublic static java.lang.String version
public static boolean debug
public static boolean crashOnInvalidRecipe
public static boolean crashOnModCompatCrash
public static boolean analytics
public static boolean versionChecker
public static org.cyclops.cyclopscore.config.ConfigurableType TYPE
public void onRegistered()
onRegistered in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.DummyConfig>public boolean isEnabled()
isEnabled in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<org.cyclops.cyclopscore.config.extendedconfig.DummyConfig>