Class Config
java.lang.Object
me.emafire003.dev.ohmymeteors.config.Config
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic intstatic intstatic intstatic booleanstatic booleanstatic booleanstatic booleanstatic intstatic intstatic intstatic intstatic booleanstatic SimpleConfigstatic doublestatic booleanstatic intstatic Pathstatic booleanstatic booleanstatic intstatic intstatic intstatic intstatic intstatic intstatic intstatic doublestatic booleanstatic intstatic intstatic intstatic intstatic booleanstatic booleanstatic Stringstatic intstatic intstatic booleanstatic intstatic intstatic intstatic booleanstatic intstatic intstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic intstatic booleanstatic booleanstatic int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic booleanstatic boolean
-
Field Details
-
CONFIG
-
FILEPATH
-
VERSION
public static int VERSION -
NATURAL_METEOR_MIN_SIZE
public static int NATURAL_METEOR_MIN_SIZE -
NATURAL_METEOR_MAX_SIZE
public static int NATURAL_METEOR_MAX_SIZE -
MIN_METEOR_SPAWN_DISTANCE
public static int MIN_METEOR_SPAWN_DISTANCE -
MAX_METEOR_SPAWN_DISTANCE
public static int MAX_METEOR_SPAWN_DISTANCE -
METEOR_SPAWN_HEIGHT
public static int METEOR_SPAWN_HEIGHT -
SHOULD_BYPASS_LEAVES
public static boolean SHOULD_BYPASS_LEAVES -
SHOULD_DESTROY_LEAVES
public static boolean SHOULD_DESTROY_LEAVES -
METEOR_SPAWN_CHANCE
public static int METEOR_SPAWN_CHANCE -
SPAWN_HUGE_METEORS
public static boolean SPAWN_HUGE_METEORS -
HUGE_METEOR_CHANCE
public static int HUGE_METEOR_CHANCE -
HUGE_METEOR_SIZE_LIMIT
public static int HUGE_METEOR_SIZE_LIMIT -
MODIFY_SPAWN_CHANCE_AT_NIGHT
public static boolean MODIFY_SPAWN_CHANCE_AT_NIGHT -
METEOR_NIGHT_SPAWN_CHANCE
public static int METEOR_NIGHT_SPAWN_CHANCE -
SHOULD_COOLDOWN_BETWEEN_METEORS
public static boolean SHOULD_COOLDOWN_BETWEEN_METEORS -
MIN_METEOR_COOLDOWN_TIME
public static int MIN_METEOR_COOLDOWN_TIME -
HOMING_METEORS
public static boolean HOMING_METEORS -
ANNOUNCE_METEOR_SPAWN
public static boolean ANNOUNCE_METEOR_SPAWN -
ANNOUNCE_METEOR_DESTROYED
public static boolean ANNOUNCE_METEOR_DESTROYED -
ACTIONBAR_ANNOUNCEMENTS
public static boolean ACTIONBAR_ANNOUNCEMENTS -
METEOR_GRIEFING
public static boolean METEOR_GRIEFING -
SCATTER_METEOR_GRIEFING
public static boolean SCATTER_METEOR_GRIEFING -
METEOR_STRUCTURE
public static boolean METEOR_STRUCTURE -
SCATTER_METEOR_STRUCTURE
public static boolean SCATTER_METEOR_STRUCTURE -
BASIC_LASER_AREA_RADIUS
public static int BASIC_LASER_AREA_RADIUS -
BASIC_LASER_HEIGHT
public static int BASIC_LASER_HEIGHT -
ADVANCED_LASER_AREA_RADIUS
public static int ADVANCED_LASER_AREA_RADIUS -
ADVANCED_LASER_HEIGHT
public static int ADVANCED_LASER_HEIGHT -
SHOULD_BASIC_LASER_COOLDOWN
public static boolean SHOULD_BASIC_LASER_COOLDOWN -
BASIC_LASER_COOLDOWN
public static int BASIC_LASER_COOLDOWN -
SHOULD_ADVANCED_LASER_COOLDOWN
public static boolean SHOULD_ADVANCED_LASER_COOLDOWN -
ADVANCED_LASER_COOLDOWN
public static int ADVANCED_LASER_COOLDOWN -
MAX_SMALL_METEOR_SIZE
public static int MAX_SMALL_METEOR_SIZE -
MAX_MEDIUM_METEOR_SIZE
public static int MAX_MEDIUM_METEOR_SIZE -
MAX_BIG_METEOR_SIZE
public static int MAX_BIG_METEOR_SIZE -
USE_FORCED_PARTICLES
public static boolean USE_FORCED_PARTICLES -
SPECIAL_METEORS_CHANCE
public static int SPECIAL_METEORS_CHANCE -
GLOBAL_EXPLOSION_SOUND
public static boolean GLOBAL_EXPLOSION_SOUND -
AREA_EXPLOSION_SOUND
public static boolean AREA_EXPLOSION_SOUND -
AREA_EXPLOSION_SOUND_RADIUS
public static int AREA_EXPLOSION_SOUND_RADIUS -
EXPLOSION_POWER_MODIFIER
public static int EXPLOSION_POWER_MODIFIER -
DOWNWARDS_SPEED_MODIFIER
public static double DOWNWARDS_SPEED_MODIFIER -
SPAWN_DIMENSIONS
-
DIMENSION_CHANCES
-
DIMENSION_NIGHT_CHANCES
-
BIOME_LIST_MODE
public static boolean BIOME_LIST_MODE -
BIOME_SPAWN_LIST
-
BIOME_CHANCES
-
BIOME_NIGHT_CHANCES
-
USE_BETTER_EXPLOSIONS
public static boolean USE_BETTER_EXPLOSIONS -
METEOR_RENDER_DISTANCE
public static int METEOR_RENDER_DISTANCE -
METEOR_SHOWERS_ENABLED
public static boolean METEOR_SHOWERS_ENABLED -
METEOR_SHOWER_CHANCE
public static int METEOR_SHOWER_CHANCE -
MIN_METEORS_IN_SHOWER
public static int MIN_METEORS_IN_SHOWER -
MAX_METEORS_IN_SHOWER
public static int MAX_METEORS_IN_SHOWER -
ANNOUNCE_LOCATION
public static boolean ANNOUNCE_LOCATION -
ONLY_REPLACE_AIR
public static boolean ONLY_REPLACE_AIR -
SCATTER_ONLY_REPALCE_AIR
public static boolean SCATTER_ONLY_REPALCE_AIR -
METEOR_SHOWER_DELAY_TICKS
public static int METEOR_SHOWER_DELAY_TICKS -
METEOR_SKYGLOW
public static boolean METEOR_SKYGLOW -
METEOR_SKYGLOW_COLOR
-
EXPLODE_ON_ENTITY_COLLISION
public static boolean EXPLODE_ON_ENTITY_COLLISION -
METEOR_DISPERSION_FACTOR
public static double METEOR_DISPERSION_FACTOR -
SPAWN_FIRE_WITH_METEOR
public static boolean SPAWN_FIRE_WITH_METEOR
-
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
handleVersionChange
public static void handleVersionChange() -
registerConfigs
public static boolean registerConfigs()- Returns:
- true if all was good, false if the config was rolled back to normal
-
reloadConfig
public static boolean reloadConfig()- Returns:
- true if all was good, false if the config was rolled back to normal
-