cleanup config field names

This commit is contained in:
modmuss50 2019-08-18 17:09:10 +01:00
parent d7d7eeb2ed
commit aab3a02184
18 changed files with 36 additions and 36 deletions

View file

@ -36,58 +36,58 @@ public class TechRebornConfig {
public static int nanoSaberCharge = 4_000_000;
@Config(config = "items", category = "power", key = "basicDrillCharge", comment = "Energy Capacity for Basic Drill (FE)")
public static int BasicDrillCharge = 40_000;
public static int basicDrillCharge = 40_000;
@Config(config = "items", category = "power", key = "advancedDrillCharge", comment = "Energy Capacity for Advanced Drill (FE)")
public static int AdvancedDrillCharge = 400_000;
public static int advancedDrillCharge = 400_000;
@Config(config = "items", category = "power", key = "industrialDrillCharge", comment = "Energy Capacity for Industrial Drill (FE)")
public static int IndustrialDrillCharge = 4_000_000;
public static int industrialDrillCharge = 4_000_000;
@Config(config = "items", category = "power", key = "basicChainsawCharge", comment = "Energy Capacity for Basic Chainsaw (FE)")
public static int BasicChainsawCharge = 40_000;
public static int basicChainsawCharge = 40_000;
@Config(config = "items", category = "power", key = "advancedChainsawCharge", comment = "Energy Capacity for Advanced Chainsaw (FE)")
public static int AdvancedChainsawCharge = 400_000;
public static int advancedChainsawCharge = 400_000;
@Config(config = "items", category = "power", key = "industrialChainsawCharge", comment = "Energy Capacity for Industrial Chainsaw (FE)")
public static int IndustrialChainsawCharge = 4_000_000;
public static int industrialChainsawCharge = 4_000_000;
@Config(config = "items", category = "power", key = "basicJackhammerCharge", comment = "Energy Capacity for Basic Jackhammer (FE)")
public static int BasicJackhammerCharge = 40_000;
public static int basicJackhammerCharge = 40_000;
@Config(config = "items", category = "power", key = "advancedJackhammerCharge", comment = "Energy Capacity for Advanced Jackhammer (FE)")
public static int AdvancedJackhammerCharge = 400_000;
public static int advancedJackhammerCharge = 400_000;
@Config(config = "items", category = "power", key = "industrialJackhammerCharge", comment = "Energy Capacity for Industrial Jachammer (FE)")
public static int IndustrialJackhammerCharge = 4_000_000;
public static int industrialJackhammerCharge = 4_000_000;
@Config(config = "items", category = "power", key = "omniToolCharge", comment = "Energy Capacity for Omni Tool (FE)")
public static int OmniToolCharge = 4_000_000;
public static int omniToolCharge = 4_000_000;
@Config(config = "items", category = "power", key = "rockCutterCharge", comment = "Energy Capacity for Rock Cutter (FE)")
public static int RockCutterCharge = 400_000;
public static int rockCutterCharge = 400_000;
@Config(config = "items", category = "power", key = "lapotronPackCharge", comment = "Energy Capacity for Lapotron Pack (FE)")
public static int LapotronPackCharge = 400_000_000;
public static int lapotronPackCharge = 400_000_000;
@Config(config = "items", category = "power", key = "LithiumBatpackCharge", comment = "Energy Capacity for Lithium Batpack (FE)")
public static int LithiumBatpackCharge = 8_000_000;
public static int lithiumBatpackCharge = 8_000_000;
@Config(config = "items", category = "power", key = "energyCrystalMaxCharge", comment = "Energy Capacity for Energy Crystal (FE)")
public static int EnergyCrystalMaxCharge = 4_000_000;
public static int energyCrystalMaxCharge = 4_000_000;
@Config(config = "items", category = "power", key = "lapotronCrystalMaxCharge", comment = "Energy Capacity for Lapotron Crystal (FE)")
public static int LapotronCrystalMaxCharge = 40_000_000;
public static int lapotronCrystalMaxCharge = 40_000_000;
@Config(config = "items", category = "power", key = "lapotronicOrbMaxCharge", comment = "Energy Capacity for Lapotronic Orb (FE)")
public static int LapotronicOrbMaxCharge = 400_000_000;
public static int lapotronicOrbMaxCharge = 400_000_000;
@Config(config = "items", category = "power", key = "cloakingDeviceCharge", comment = "Energy Capacity for Clocking Device (FE)")
public static int CloakingDeviceCharge = 40_000_000;
public static int cloakingDeviceCharge = 40_000_000;
@Config(config = "items", category = "power", key = "clockingDeviceEnergyUsage", comment = "Cloacking device energy usesage (FE)")
public static int CloackingDeviceUsage = 10;
public static int cloackingDeviceUsage = 10;
@Config(config = "generators", category = "solarPanelBasic", key = "basicDayRate", comment = "Generation rate during day for Basic Solar Panel (Value in FE)")
public static int basicGenerationRateD = 1;

View file

@ -45,8 +45,8 @@ import techreborn.utils.InitUtils;
public class ItemCloakingDevice extends ItemTRArmour implements IEnergyItemInfo {
public static int maxCharge = TechRebornConfig.CloakingDeviceCharge;
public static int usage = TechRebornConfig.CloackingDeviceUsage;
public static int maxCharge = TechRebornConfig.cloakingDeviceCharge;
public static int usage = TechRebornConfig.cloackingDeviceUsage;
public static int transferLimit = 10_000;
public static boolean isActive;

View file

@ -43,7 +43,7 @@ import techreborn.utils.InitUtils;
public class ItemLapotronicOrbpack extends ArmorItem implements IEnergyItemInfo, ItemDurabilityExtensions {
// 400M FE maxCharge and 100k FE\t charge rate. Fully charged in 3 mins.
public static final int maxCharge = TechRebornConfig.LapotronPackCharge;
public static final int maxCharge = TechRebornConfig.lapotronPackCharge;
public int transferLimit = 100_000;
public ItemLapotronicOrbpack() {

View file

@ -47,7 +47,7 @@ import techreborn.utils.InitUtils;
public class ItemLithiumIonBatpack extends ArmorItem implements IEnergyItemInfo, ItemDurabilityExtensions {
// 8M FE maxCharge and 2k FE\t charge rate. Fully charged in 3 mins.
public static final int maxCharge = TechRebornConfig.LithiumBatpackCharge;
public static final int maxCharge = TechRebornConfig.lithiumBatpackCharge;
public int transferLimit = 2_000;
public ItemLithiumIonBatpack() {

View file

@ -37,7 +37,7 @@ public class ItemEnergyCrystal extends ItemBattery {
// 4M FE storage with 1k charge rate
public ItemEnergyCrystal() {
super(TechRebornConfig.EnergyCrystalMaxCharge, 1_000);
super(TechRebornConfig.energyCrystalMaxCharge, 1_000);
}
@Environment(EnvType.CLIENT)

View file

@ -37,7 +37,7 @@ public class ItemLapotronCrystal extends ItemBattery {
// 40M FE capacity with 10k FE\t charge rate
public ItemLapotronCrystal() {
super(TechRebornConfig.LapotronCrystalMaxCharge, 10_000);
super(TechRebornConfig.lapotronCrystalMaxCharge, 10_000);
}
@Environment(EnvType.CLIENT)

View file

@ -37,7 +37,7 @@ public class ItemLapotronicOrb extends ItemBattery {
// 400M capacity with 100k FE\t charge rate
public ItemLapotronicOrb() {
super(TechRebornConfig.LapotronicOrbMaxCharge, 100_000);
super(TechRebornConfig.lapotronicOrbMaxCharge, 100_000);
}
@Environment(EnvType.CLIENT)

View file

@ -41,7 +41,7 @@ public class ItemAdvancedChainsaw extends ItemChainsaw {
// 400k max charge with 1k charge rate
public ItemAdvancedChainsaw() {
super(ToolMaterials.DIAMOND, TechRebornConfig.AdvancedChainsawCharge, 1.0F);
super(ToolMaterials.DIAMOND, TechRebornConfig.advancedChainsawCharge, 1.0F);
this.cost = 250;
this.transferLimit = 1000;
}

View file

@ -41,7 +41,7 @@ public class ItemAdvancedDrill extends ItemDrill {
// 400k max charge with 1k charge rate
public ItemAdvancedDrill() {
super(ToolMaterials.DIAMOND, TechRebornConfig.AdvancedDrillCharge, 0.5F, 15F);
super(ToolMaterials.DIAMOND, TechRebornConfig.advancedDrillCharge, 0.5F, 15F);
this.cost = 250;
this.transferLimit = 1000;
}

View file

@ -39,7 +39,7 @@ public class ItemAdvancedJackhammer extends ItemJackhammer {
// 400k max charge with 1k charge rate
public ItemAdvancedJackhammer() {
super(ToolMaterials.DIAMOND, TechRebornConfig.AdvancedJackhammerCharge);
super(ToolMaterials.DIAMOND, TechRebornConfig.advancedJackhammerCharge);
this.cost = 100;
this.transferLimit = 1000;
}

View file

@ -49,7 +49,7 @@ import java.util.Random;
public class ItemRockCutter extends PickaxeItem implements IEnergyItemInfo, ItemDurabilityExtensions {
public static final int maxCharge = TechRebornConfig.RockCutterCharge;
public static final int maxCharge = TechRebornConfig.rockCutterCharge;
public int transferLimit = 1_000;
public int cost = 500;

View file

@ -40,7 +40,7 @@ import techreborn.utils.InitUtils;
public class ItemBasicChainsaw extends ItemChainsaw {
public ItemBasicChainsaw() {
super(ToolMaterials.IRON, TechRebornConfig.BasicChainsawCharge, 0.5F);
super(ToolMaterials.IRON, TechRebornConfig.basicChainsawCharge, 0.5F);
this.cost = 50;
}

View file

@ -40,7 +40,7 @@ import techreborn.utils.InitUtils;
public class ItemBasicDrill extends ItemDrill {
public ItemBasicDrill() {
super(ToolMaterials.IRON, TechRebornConfig.BasicDrillCharge, 0.5F, 10F);
super(ToolMaterials.IRON, TechRebornConfig.basicDrillCharge, 0.5F, 10F);
this.cost = 50;
}

View file

@ -38,7 +38,7 @@ import techreborn.utils.InitUtils;
public class ItemBasicJackhammer extends ItemJackhammer {
public ItemBasicJackhammer() {
super(ToolMaterials.DIAMOND, TechRebornConfig.BasicJackhammerCharge);
super(ToolMaterials.DIAMOND, TechRebornConfig.basicJackhammerCharge);
this.cost = 50;
}

View file

@ -66,7 +66,7 @@ public class ItemIndustrialChainsaw extends ItemChainsaw {
// 4M FE max charge with 1k charge rate
public ItemIndustrialChainsaw() {
super(ToolMaterials.DIAMOND, TechRebornConfig.IndustrialChainsawCharge, 1.0F);
super(ToolMaterials.DIAMOND, TechRebornConfig.industrialChainsawCharge, 1.0F);
this.cost = 250;
this.transferLimit = 1000;
}

View file

@ -67,7 +67,7 @@ public class ItemIndustrialDrill extends ItemDrill {
// 4M FE max charge with 1k charge rate
public ItemIndustrialDrill() {
super(ToolMaterials.DIAMOND, TechRebornConfig.IndustrialDrillCharge, 2.0F, 10F);
super(ToolMaterials.DIAMOND, TechRebornConfig.industrialDrillCharge, 2.0F, 10F);
this.cost = 250;
this.transferLimit = 1000;
}

View file

@ -39,7 +39,7 @@ public class ItemIndustrialJackhammer extends ItemJackhammer {
// 4M FE max charge with 1k charge rate
public ItemIndustrialJackhammer() {
super(ToolMaterials.IRON, TechRebornConfig.IndustrialJackhammerCharge);
super(ToolMaterials.IRON, TechRebornConfig.industrialJackhammerCharge);
this.cost = 250;
this.transferLimit = 1000;
}

View file

@ -56,7 +56,7 @@ import java.util.List;
public class ItemOmniTool extends PickaxeItem implements IEnergyItemInfo, ItemDurabilityExtensions {
public static final int maxCharge = TechRebornConfig.OmniToolCharge;
public static final int maxCharge = TechRebornConfig.omniToolCharge;
public int transferLimit = 1_000;
public int cost = 100;
public int hitCost = 125;