From a2e0ca0f843a808ac37c3459b4d88cebcc617cf1 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 5 Mar 2019 21:56:35 -0800 Subject: [PATCH] Flux Mining Cleanup --- src/main/java/com/gmail/nossr50/config/AdvancedConfig.java | 7 ------- src/main/resources/advanced.yml | 6 ------ 2 files changed, 13 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/config/AdvancedConfig.java b/src/main/java/com/gmail/nossr50/config/AdvancedConfig.java index 8bc15b0d9..30a7fe275 100644 --- a/src/main/java/com/gmail/nossr50/config/AdvancedConfig.java +++ b/src/main/java/com/gmail/nossr50/config/AdvancedConfig.java @@ -89,7 +89,6 @@ public class AdvancedConfig extends ConfigValidated { public static final String EXTRACT_PARTIAL_ENCHANT = "ExtractPartialEnchant"; public static final String SMELTING = "Smelting"; public static final String FUEL_EFFICIENCY = "FuelEfficiency"; - public static final String FLUX = "Flux"; public static final String SWORDS = "Swords"; public static final String RUPTURE = "Rupture"; public static final String DAMAGE_PLAYER = "DamagePlayer"; @@ -380,10 +379,6 @@ public class AdvancedConfig extends ConfigValidated { reason.add(SKILLS + "." + SMELTING + ".SecondSmelt." + CHANCE_MAX + " should be at least 1!"); } - if (getFluxMiningChance() < 1) { - reason.add(SKILLS + "." + SMELTING + "." + FLUX + MINING + "." + CHANCE + " should be at least 1!"); - } - /* SWORDS */ if (getMaximumProbability(SubSkillType.SWORDS_RUPTURE) < 1) { reason.add(SKILLS + "." + SWORDS + "." + RUPTURE + "." + CHANCE_MAX + " should be at least 1!"); @@ -693,8 +688,6 @@ public class AdvancedConfig extends ConfigValidated { //public int getBurnModifierMaxLevel() { return getIntValue(SKILLS, SMELTING, FUEL_EFFICIENCY, MAX_BONUS_LEVEL); } public double getBurnTimeMultiplier() { return getDoubleValue(SKILLS, SMELTING, FUEL_EFFICIENCY, MULTIPLIER); } - public double getFluxMiningChance() { return getDoubleValue(SKILLS, SMELTING, FLUX, MINING, CHANCE); } - public int getSmeltingRankLevel(int rank) { return getIntValue(SKILLS, SMELTING, RANK, LEVELS, RANK, String.valueOf(rank)); } public int getSmeltingVanillaXPBoostMultiplier(int rank) { return getIntValue(SKILLS, SMELTING, VANILLA_XPMULTIPLIER, RANK, String.valueOf(rank)); } diff --git a/src/main/resources/advanced.yml b/src/main/resources/advanced.yml index 47b634004..5a2e7f845 100644 --- a/src/main/resources/advanced.yml +++ b/src/main/resources/advanced.yml @@ -398,12 +398,6 @@ Skills: MaxBonusLevel: Standard: 100 RetroMode: 1000 - FluxMining: - # Chance: Chance for Flux Mining to activate - Chance: 33.0 - MaxBonusLevel: - Standard: 100 - RetroMode: 1000 # VanillaXPMultiplier: Vanilla XP gained from smelting ores is multiplied by these values. VanillaXPMultiplier: Rank_1: 1