public class GeneralConfig
extends org.cyclops.cyclopscore.config.extendedconfig.DummyConfig
Modifier and Type | Field and Description |
---|---|
static int |
abilityXpMultiplier
The multiplier for ability XP requirement.
|
static boolean |
alwaysDropAbilities
true: Abilities drop when players die; false: Abilities drop when players die by the hand of other players.
|
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 int |
dropAbilitiesOnPlayerDeath
How many abilities should be dropped on player death.
|
static double |
exhaustionPerAbilityTick
The amount of exhaustion that should by applied to the player per active ability per second.
|
static boolean |
magnetizeMoveXp
If the magnetize ability should move xp.
|
static int |
maxPlayerAbilities
The maximum amount of abilities a player can have, -1 is infinite.
|
static int |
mobAbilityChance
1/x chance for mobs to have abilities.
|
static boolean |
showPlayerParticles
If players should have particle effects for the abilities they carry.
|
static int |
totemMaximumSpawnRarity
The maximum rarity of totems to spawn when a player first logs in.
|
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, getUnlocalizedName
compareTo, downCast, getComment, getConfigPropertyPrefix, getElement, getFullUnlocalizedName, getMod, getNamedId, getSubInstance, getSubUniqueName, initSubInstance, isDisableable, isHardDisabled, onInit, save, setEnabled, showDoubleInitError
public 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 int totemMaximumSpawnRarity
public static int dropAbilitiesOnPlayerDeath
public static boolean alwaysDropAbilities
public static int mobAbilityChance
public static boolean magnetizeMoveXp
public static int abilityXpMultiplier
public static boolean showPlayerParticles
public static int maxPlayerAbilities
public static double exhaustionPerAbilityTick
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>