2015-04-11 19:11:37 +02:00
package techreborn.config ;
2016-03-25 10:47:34 +01:00
import net.minecraftforge.common.config.Configuration ;
2016-03-28 21:51:23 +02:00
import java.io.File ;
2016-03-25 10:47:34 +01:00
public class ConfigTechReborn
{
2016-02-20 00:33:18 +01:00
public static String CATEGORY_WORLD = " world " ;
public static String CATEGORY_POWER = " power " ;
public static String CATEGORY_CRAFTING = " crafting " ;
public static String CATEGORY_UU = " uu " ;
public static String CATEGORY_EMC = " emc " ;
public static String CATEGORY_INTEGRATION = " Integration " ;
2016-05-11 07:35:09 +02:00
public static String CATEGORY_FEATURES = " Features " ;
2016-02-20 00:33:18 +01:00
public static double FortuneSecondaryOreMultiplierPerLevel ;
2016-02-24 06:26:57 +01:00
public static boolean RubberSaplingLoot ;
public static boolean TinIngotsLoot ;
public static boolean CopperIngotsLoot ;
public static boolean SteelIngotsLoot ;
2016-03-08 06:46:29 +01:00
public static boolean UninsulatedElectocutionSound ;
public static boolean UninsulatedElectocutionParticle ;
public static boolean UninsulatedElectocutionDamage ;
2016-03-28 21:45:49 +02:00
public static boolean ScrapboxDispenser ;
2016-02-20 00:33:18 +01:00
// Power
2016-03-28 21:45:49 +02:00
public static int ThermalGeneratorOutput ;
2016-02-20 00:33:18 +01:00
public static int CentrifugeInputTick ;
2016-03-28 21:45:49 +02:00
public static int DragonEggSiphonerOutput ;
2016-07-01 16:55:37 +02:00
public static int HeatGeneratorOutput ;
2016-03-28 21:45:49 +02:00
public static int AverageEuOutTickTime ;
public static int ExtraOutputPerLesuBlock ;
public static int BaseLesuOutput ;
public static int LesuStoragePerBlock ;
public static int FarmEu ;
public static int AesuMaxOutput ;
public static int AesuMaxStorage ;
2016-05-08 22:42:09 +02:00
public static int pumpExtractEU ;
2016-04-04 00:20:35 +02:00
public static int LVTransformerMaxInput ;
public static int LVTransformerMaxOutput ;
public static int MVTransformerMaxInput ;
public static int MVTransformerMaxOutput ;
public static int HVTransformerMaxInput ;
public static int HVTransformerMaxOutput ;
2016-02-20 00:33:18 +01:00
// Charge
2016-02-26 02:42:24 +01:00
public static int IronDrillCharge ;
public static int DiamondDrillCharge ;
2016-02-20 00:33:18 +01:00
public static int AdvancedDrillCharge ;
2016-02-26 02:42:24 +01:00
public static int IronChainsawCharge ;
public static int DiamondChainsawCharge ;
public static int AdvancedChainsawCharge ;
2016-02-28 20:18:59 +01:00
public static int SteelJackhammerCharge ;
2016-05-23 09:13:11 +02:00
public static int DiamondJackhammerCharge ;
public static int AdvancedJackhammerCharge ;
2016-02-20 00:33:18 +01:00
public static int LapotronPackCharge ;
public static int LithiumBatpackCharge ;
public static int LapotronicOrbMaxCharge ;
public static int OmniToolCharge ;
public static int RockCutterCharge ;
public static int CloakingDeviceCharge ;
public static int CentrifugeCharge ;
public static int ThermalGeneratorCharge ;
// Tier
2016-02-26 02:42:24 +01:00
public static int IronDrillTier ;
public static int DiamondDrillTier ;
2016-02-20 00:33:18 +01:00
public static int AdvancedDrillTier ;
2016-02-26 02:42:24 +01:00
public static int IronChainsawTier ;
public static int DiamondChainsawTier ;
public static int AdvancedChainsawTier ;
2016-02-28 20:18:59 +01:00
public static int SteelJackhammerTier ;
2016-05-23 09:13:11 +02:00
public static int DiamondJackhammerTier ;
public static int AdvancedJackhammerTier ;
2016-02-20 00:33:18 +01:00
public static int LapotronPackTier ;
public static int LapotronicOrbTier ;
public static int LithiumBatpackTier ;
public static int OmniToolTier ;
public static int RockCutterTier ;
public static int CloakingDeviceTier ;
public static int CentrifugeTier ;
public static int ThermalGeneratorTier ;
2016-05-11 07:35:09 +02:00
public static boolean FreqTransmitterChat ;
public static boolean FreqTransmitterTooltip ;
2016-06-05 12:57:38 +02:00
public static boolean NanosaberChat ;
2016-02-20 00:33:18 +01:00
// EU/T
public static int CloakingDeviceEUTick ;
// Crafting
public static boolean ExpensiveMacerator ;
public static boolean ExpensiveDrill ;
public static boolean ExpensiveDiamondDrill ;
public static boolean ExpensiveSolar ;
public static boolean ExpensiveWatermill ;
public static boolean ExpensiveWindmill ;
// UU
public static boolean HideUuRecipes ;
public static boolean UUrecipesIridiamOre ;
public static boolean UUrecipesWood ;
public static boolean UUrecipesStone ;
public static boolean UUrecipesSnowBlock ;
public static boolean UUrecipesGrass ;
public static boolean UUrecipesObsidian ;
public static boolean UUrecipesGlass ;
public static boolean UUrecipesWater ;
public static boolean UUrecipesLava ;
public static boolean UUrecipesCocoa ;
public static boolean UUrecipesGunpowder ;
public static boolean UUrecipesGlowstoneBlock ;
public static boolean UUrecipesCactus ;
public static boolean UUrecipesSugarCane ;
public static boolean UUrecipesVine ;
public static boolean UUrecipesSnowBall ;
public static boolean UUrecipeslilypad ;
public static boolean UUrecipesBone ;
public static boolean UUrecipesFeather ;
public static boolean UUrecipesInk ;
public static boolean UUrecipesEnderPearl ;
public static boolean UUrecipesCoal ;
public static boolean UUrecipesIronOre ;
public static boolean UUrecipesIronDust ;
public static boolean UUrecipesGoldOre ;
public static boolean UUrecipesGoldDust ;
public static boolean UUrecipesRedStone ;
public static boolean UUrecipesLapis ;
public static boolean UUrecipesEmeraldOre ;
public static boolean UUrecipesEmerald ;
public static boolean UUrecipesDiamond ;
public static boolean UUrecipesResin ;
public static boolean UUrecipesTinDust ;
public static boolean UUrecipesCopperDust ;
public static boolean UUrecipesLeadDust ;
public static boolean UUrecipesPlatinumDust ;
public static boolean UUrecipesTungstenDust ;
public static boolean UUrecipesTitaniumDust ;
public static boolean UUrecipesAluminumDust ;
// Integration
public static boolean AllowForestryRecipes ;
public static boolean AllowBOPRecipes ;
public static boolean AllowNaturaRecipes ;
// Client
public static boolean ShowChargeHud ;
2016-03-25 10:47:34 +01:00
// EMC
2016-03-28 21:45:49 +02:00
public static boolean UseConnectedTextures ;
public static boolean OreUnifer ;
2016-06-04 12:20:06 +02:00
public static boolean enableGemArmorAndTools ;
2016-02-20 00:33:18 +01:00
public static Configuration config ;
2016-03-25 10:47:34 +01:00
private static ConfigTechReborn instance = null ;
2016-02-20 00:33:18 +01:00
2016-03-25 10:47:34 +01:00
private ConfigTechReborn ( File configFile )
{
2016-02-20 00:33:18 +01:00
config = new Configuration ( configFile ) ;
config . load ( ) ;
ConfigTechReborn . Configs ( ) ;
config . save ( ) ;
}
2016-03-25 10:47:34 +01:00
public static ConfigTechReborn initialize ( File configFile )
{
2016-02-20 00:33:18 +01:00
if ( instance = = null )
instance = new ConfigTechReborn ( configFile ) ;
else
throw new IllegalStateException ( " Cannot initialize TechReborn Config twice " ) ;
return instance ;
}
2016-03-25 10:47:34 +01:00
public static ConfigTechReborn instance ( )
{
if ( instance = = null )
{
2016-02-20 00:33:18 +01:00
throw new IllegalStateException ( " Instance of TechReborn Config requested before initialization " ) ;
}
return instance ;
}
2016-03-25 10:47:34 +01:00
public static void Configs ( )
{
2016-02-24 06:26:57 +01:00
RubberSaplingLoot = config
. get ( CATEGORY_WORLD , " Rubber Sapling Loot " , true , " Allow Rubber Saplings to generate in loot chests " )
. getBoolean ( true ) ;
CopperIngotsLoot = config
. get ( CATEGORY_WORLD , " Copper Ingots Loot " , true , " Allow Copper Ingots to generate in loot chests " )
. getBoolean ( true ) ;
TinIngotsLoot = config
. get ( CATEGORY_WORLD , " Tin Ingots Loot " , true , " Allow Tin Ingots to generate in loot chests " )
. getBoolean ( true ) ;
SteelIngotsLoot = config
. get ( CATEGORY_WORLD , " Steel Ingots Loot " , true , " Allow Steel Ingots to generate in loot chests " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
FortuneSecondaryOreMultiplierPerLevel = config . get ( CATEGORY_WORLD , " FortuneSecondaryOreMultiplierPerLevel " , 0 . 5 ,
" FortuneSecondaryOreMultiplierPerLevel " ) . getDouble ( ) ;
// Power
2016-03-28 21:45:49 +02:00
ThermalGeneratorOutput = config
2016-05-23 18:05:10 +02:00
. get ( CATEGORY_POWER , " ThermalGenerator Max Output " , 60 , " Set the max output for the ThermalGenerator " )
2016-02-20 00:33:18 +01:00
. getInt ( ) ;
2016-03-28 21:45:49 +02:00
DragonEggSiphonerOutput = config
. get ( CATEGORY_POWER , " DragoneggSiphoner Max Output " , 30 , " Set the max output for the DragonEggSiphoner " )
2016-02-20 00:33:18 +01:00
. getInt ( ) ;
CentrifugeInputTick = config
. get ( CATEGORY_POWER , " Centrifuge Max Tick " , 30 , " Set the max power the Centrifuge uses per tick " )
. getInt ( ) ;
2016-07-01 16:55:37 +02:00
HeatGeneratorOutput = config
. get ( CATEGORY_POWER , " HeatGenerator Max Output " , 30 , " Set the max output for the HeatGenerator " )
. getInt ( ) ;
2016-03-28 21:45:49 +02:00
AesuMaxOutput = config . get ( CATEGORY_POWER , " AESU Max Output " , 30 , " Set the max output for the AESU " ) . getInt ( ) ;
2016-02-20 00:33:18 +01:00
2016-03-28 21:45:49 +02:00
AesuMaxStorage = config . get ( CATEGORY_POWER , " AESU Max Storage " , 30 , " Set the max Storage for the AESU " )
2016-02-20 00:33:18 +01:00
. getInt ( ) ;
2016-05-08 22:42:09 +02:00
pumpExtractEU = config . get ( CATEGORY_POWER , " Pump extract eu " , 20 , " How mutch eu should the pump use to extract the fluid " )
. getInt ( ) ;
2016-04-04 00:20:35 +02:00
//Transformers
LVTransformerMaxInput = config . get ( CATEGORY_POWER , " LV Transformer Max Input " , 128 , " Set the max input for the LV Trasnformer " )
. getInt ( ) ;
LVTransformerMaxOutput = config . get ( CATEGORY_POWER , " LV Transformer Max Output " , 32 , " Set the max output for the LV Trasnformer " )
. getInt ( ) ;
MVTransformerMaxInput = config . get ( CATEGORY_POWER , " MV Transformer Max Input " , 512 , " Set the max input for the MV Trasnformer " )
. getInt ( ) ;
MVTransformerMaxOutput = config . get ( CATEGORY_POWER , " MV Transformer Max Output " , 128 , " Set the max output for the MV Trasnformer " )
. getInt ( ) ;
HVTransformerMaxInput = config . get ( CATEGORY_POWER , " HV Transformer Max Input " , 2048 , " Set the max input for the HV Trasnformer " )
. getInt ( ) ;
HVTransformerMaxOutput = config . get ( CATEGORY_POWER , " HV Transformer Max Output " , 512 , " Set the max output for the HV Trasnformer " )
. getInt ( ) ;
2016-02-20 00:33:18 +01:00
// Charge
2016-02-26 02:42:24 +01:00
IronDrillCharge = config
2016-03-25 10:47:34 +01:00
. get ( CATEGORY_POWER , " IronDrill MaxCharge " , 10000 , " Set the max charge for the iron drill " ) . getInt ( ) ;
2016-02-26 02:42:24 +01:00
DiamondDrillCharge = config
. get ( CATEGORY_POWER , " DiamondDrill MaxCharge " , 100000 , " Set the max charge for the diamond drill " )
. getInt ( ) ;
2016-03-25 10:47:34 +01:00
2016-02-20 00:33:18 +01:00
AdvancedDrillCharge = config
2016-02-26 02:42:24 +01:00
. get ( CATEGORY_POWER , " AdvancedDrill MaxCharge " , 1000000 , " Set the max charge for the advanced drill " )
. getInt ( ) ;
IronChainsawCharge = config
. get ( CATEGORY_POWER , " IronChainsaw MaxCharge " , 10000 , " Set the max charge for the iron chainsaw " )
. getInt ( ) ;
2016-03-25 10:47:34 +01:00
2016-02-26 02:42:24 +01:00
DiamondChainsawCharge = config
. get ( CATEGORY_POWER , " DiamondChainsaw MaxCharge " , 100000 , " Set the max charge for the diamond chainsaw " )
. getInt ( ) ;
2016-03-25 10:47:34 +01:00
AdvancedChainsawCharge = config . get ( CATEGORY_POWER , " AdvancedChainsaw MaxCharge " , 1000000 ,
" Set the max charge for the advanced chainsaw " ) . getInt ( ) ;
2016-02-20 00:33:18 +01:00
2016-05-23 09:13:11 +02:00
AdvancedJackhammerCharge = config
. get ( CATEGORY_POWER , " AdvancedJackhammer MaxCharge " , 100000 , " Set the max charge for the advanced jackhammer " )
2016-02-28 20:18:59 +01:00
. getInt ( ) ;
2016-03-25 10:47:34 +01:00
2016-05-23 09:13:11 +02:00
SteelJackhammerCharge = config . get ( CATEGORY_POWER , " AdvancedJackhammer MaxCharge " , 10000 ,
" Set the max charge for the steel jackhammer " ) . getInt ( ) ;
2016-03-25 10:47:34 +01:00
2016-05-23 09:13:11 +02:00
DiamondJackhammerCharge = config . get ( CATEGORY_POWER , " DiamondJackhammer MaxCharge " , 20000 ,
2016-03-25 10:47:34 +01:00
" Set the max charge for the diamond jackhammer " ) . getInt ( ) ;
2016-02-28 20:18:59 +01:00
2016-02-20 00:33:18 +01:00
LapotronPackCharge = config
. get ( CATEGORY_POWER , " LapotronPack MaxCharge " , 100000000 , " Set the max charge for the LapotronPack " )
. getInt ( ) ;
LapotronicOrbMaxCharge = config
. get ( CATEGORY_POWER , " LapotronicOrb MaxCharge " , 10000000 , " Set the max charge for the LapotronicOrb " )
. getInt ( ) ;
LithiumBatpackCharge = config
. get ( CATEGORY_POWER , " LithiumBatpack MaxCharge " , 4000000 , " Set the max charge for the LithiumBatpack " )
. getInt ( ) ;
OmniToolCharge = config . get ( CATEGORY_POWER , " OmniTool MaxCharge " , 20000 , " Set the max charge for the OmniTool " )
. getInt ( ) ;
RockCutterCharge = config
. get ( CATEGORY_POWER , " RockCutter MaxCharge " , 10000 , " Set the max charge for the RockCutter " ) . getInt ( ) ;
CloakingDeviceCharge = config
. get ( CATEGORY_POWER , " CloakingDevice MaxCharge " , 10000000 , " Set the max charge for the CloakingDevice " )
. getInt ( ) ;
CentrifugeCharge = config
. get ( CATEGORY_POWER , " Centrifuge MaxCharge " , 1000000 , " Set the max charge for the Centrifuge " ) . getInt ( ) ;
ThermalGeneratorCharge = config . get ( CATEGORY_POWER , " ThermalGenerator MaxCharge " , 1000000 ,
" Set the max charge for the ThermalGenerator " ) . getInt ( ) ;
2016-03-28 21:45:49 +02:00
AverageEuOutTickTime = config . get ( CATEGORY_POWER , " config.techreborn.AverageEuOutTickTime " , 100 ,
" config.techreborn.AverageEuOutTickTime.tooltip " ) . getInt ( ) ;
2016-02-20 00:33:18 +01:00
2016-03-28 21:45:49 +02:00
LesuStoragePerBlock = config . get ( CATEGORY_POWER , " LESU Storage Block Amount " , 1000000 ,
2016-02-20 00:33:18 +01:00
" The Amount of energy storage added per Storage block " ) . getInt ( ) ;
2016-03-28 21:45:49 +02:00
BaseLesuOutput = config . get ( CATEGORY_POWER , " LESU base output " , 16 , " The output of the LESU befor upgrades " )
2016-02-20 00:33:18 +01:00
. getInt ( ) ;
2016-03-28 21:45:49 +02:00
ExtraOutputPerLesuBlock = config . get ( CATEGORY_POWER , " Extra output on Storage Blocks " , 8 , " " ) . getInt ( ) ;
2016-02-20 00:33:18 +01:00
2016-03-28 21:45:49 +02:00
FarmEu = config . get ( CATEGORY_POWER , " farmeu " , 32 , " " ) . getInt ( ) ;
2016-02-20 00:33:18 +01:00
2016-02-26 02:42:24 +01:00
// Tier
2016-03-25 10:47:34 +01:00
IronDrillTier = config . get ( CATEGORY_POWER , " IronDrill Tier " , 2 , " Set the Tier of the iron drill " ) . getInt ( ) ;
2016-02-26 02:42:24 +01:00
DiamondDrillTier = config . get ( CATEGORY_POWER , " DiamondDrill Tier " , 2 , " Set the Tier of the diamond drill " )
. getInt ( ) ;
2016-03-25 10:47:34 +01:00
2016-02-20 00:33:18 +01:00
AdvancedDrillTier = config . get ( CATEGORY_POWER , " AdvancedDrill Tier " , 2 , " Set the Tier of the advanced drill " )
. getInt ( ) ;
2016-02-26 02:42:24 +01:00
IronChainsawTier = config . get ( CATEGORY_POWER , " IronChainsaw Tier " , 2 , " Set the Tier of the iron chainsaw " )
. getInt ( ) ;
2016-03-25 10:47:34 +01:00
DiamondChainsawTier = config
. get ( CATEGORY_POWER , " DiamondChainsaw Tier " , 2 , " Set the Tier of the diamond chainsaw " ) . getInt ( ) ;
AdvancedChainsawTier = config
. get ( CATEGORY_POWER , " AdvancedChainsaw Tier " , 2 , " Set the Tier of the advanced chainsaw " ) . getInt ( ) ;
2016-02-26 02:42:24 +01:00
2016-05-23 09:13:11 +02:00
AdvancedJackhammerTier = config . get ( CATEGORY_POWER , " AdvancedJackhammer Tier " , 2 , " Set the Tier of the advanced jackhammer " )
2016-02-28 20:18:59 +01:00
. getInt ( ) ;
2016-03-25 10:47:34 +01:00
DiamondJackhammerTier = config
. get ( CATEGORY_POWER , " DiamondJackhammer Tier " , 2 , " Set the Tier of the diamond jackhammer " ) . getInt ( ) ;
SteelJackhammerTier = config
. get ( CATEGORY_POWER , " AdvancedJackhammer Tier " , 2 , " Set the Tier of the advanced jackhammer " ) . getInt ( ) ;
2016-02-28 20:18:59 +01:00
2016-02-20 00:33:18 +01:00
LapotronPackTier = config . get ( CATEGORY_POWER , " LapotronPack Tier " , 2 , " Set the Tier of the LapotronPack " )
. getInt ( ) ;
LapotronicOrbTier = config . get ( CATEGORY_POWER , " LapotronicOrb Tier " , 2 , " Set the Tier of the LapotronicOrb " )
. getInt ( ) ;
LithiumBatpackTier = config . get ( CATEGORY_POWER , " LithiumBatpack Tier " , 3 , " Set the Tier of the LithiumBatpack " )
. getInt ( ) ;
OmniToolTier = config . get ( CATEGORY_POWER , " OmniTool Tier " , 3 , " Set the Tier of the OmniTool " ) . getInt ( ) ;
RockCutterTier = config . get ( CATEGORY_POWER , " RockCutter Tier " , 2 , " Set the Tier of the RockCutter " ) . getInt ( ) ;
CloakingDeviceTier = config . get ( CATEGORY_POWER , " CloakingDevice Tier " , 2 , " Set the Tier of the CloakingDevice " )
. getInt ( ) ;
CloakingDeviceEUTick = config . get ( CATEGORY_POWER , " CloakingDevice EUTick " , 10000 , " CloakingDevice EUTick " )
. getInt ( ) ;
CentrifugeTier = config . get ( CATEGORY_POWER , " Centrifuge Tier " , 1 , " Set the Tier of the Centrifuge " ) . getInt ( ) ;
ThermalGeneratorTier = config
. get ( CATEGORY_POWER , " ThermalGenerator Tier " , 1 , " Set the Tier of the ThermalGenerator " ) . getInt ( ) ;
2016-05-11 07:35:09 +02:00
//Features
FreqTransmitterChat = config
. get ( CATEGORY_FEATURES , " Frequency Transmitter Chat messages " , true , " Allow Frequency Transmitter chat messages " )
. getBoolean ( true ) ;
FreqTransmitterTooltip = config
. get ( CATEGORY_FEATURES , " Frequency Transmitter tooltips " , true , " Allow Frequency Transmitter to display tooltip info " )
. getBoolean ( true ) ;
2016-06-05 12:57:38 +02:00
NanosaberChat = config
. get ( CATEGORY_FEATURES , " Nanosaber Chat messages " , true , " Allow Nanosaber chat messages " )
. getBoolean ( true ) ;
2016-06-04 12:20:06 +02:00
enableGemArmorAndTools = config . get ( CATEGORY_FEATURES , " Gem tools and armor " , true , " Should the gem tools and armor be added to the game " ) . getBoolean ( true ) ;
2016-02-20 00:33:18 +01:00
// Crafting
ExpensiveMacerator = config
. get ( CATEGORY_CRAFTING , " Expensive Macerator " , true , " Allow TechReborn to change the Macerator recipe " )
. getBoolean ( true ) ;
ExpensiveDrill = config
. get ( CATEGORY_CRAFTING , " Expensive Drill " , true , " Allow TechReborn to change the Drill recipe " )
. getBoolean ( true ) ;
ExpensiveDiamondDrill = config . get ( CATEGORY_CRAFTING , " Expensive DiamondDrill " , true ,
" Allow TechReborn to change the DiamondDrill recipe " ) . getBoolean ( true ) ;
ExpensiveSolar = config . get ( CATEGORY_CRAFTING , " Expensive Solarpanels " , true ,
" Allow TechReborn to change the Solarpanels recipe " ) . getBoolean ( true ) ;
ExpensiveWatermill = config
. get ( CATEGORY_CRAFTING , " Expensive Watermill " , true , " Allow TechReborn to change the Watermill recipe " )
. getBoolean ( true ) ;
ExpensiveWindmill = config
. get ( CATEGORY_CRAFTING , " Expensive Windmill " , true , " Allow TechReborn to change the Windmill recipe " )
. getBoolean ( true ) ;
// Uu
HideUuRecipes = config . get ( CATEGORY_UU , " Hide UU Recipes " , true , " Hide UU Recipes from JEI/NEI " )
. getBoolean ( true ) ;
UUrecipesIridiamOre = config
2016-03-28 21:45:49 +02:00
. get ( CATEGORY_UU , " UUrecipe IridiamOre " , true , " Allow Iridium Ore to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
UUrecipesWood = config . get ( CATEGORY_UU , " UUrecipe Wood " , true , " Allow Wood to be crafted with UU " )
. getBoolean ( true ) ;
UUrecipesStone = config . get ( CATEGORY_UU , " UUrecipe Stone " , true , " Allow Stone to be crafted with UU " )
. getBoolean ( true ) ;
UUrecipesSnowBlock = config
2016-03-28 21:45:49 +02:00
. get ( CATEGORY_UU , " UUrecipe SnowBlock " , true , " Allow Snow Blocks to be crafted with UU " ) . getBoolean ( true ) ;
2016-02-20 00:33:18 +01:00
UUrecipesGrass = config . get ( CATEGORY_UU , " UUrecipe Grass " , true , " Allow Grass to be crafted with UU " )
. getBoolean ( true ) ;
UUrecipesObsidian = config . get ( CATEGORY_UU , " UUrecipe Obsidian " , true , " Allow Obsidian to be crafted with UU " )
. getBoolean ( true ) ;
UUrecipesGlass = config . get ( CATEGORY_UU , " UUrecipe Glass " , true , " Allow Glass to be crafted with UU " )
. getBoolean ( true ) ;
UUrecipesWater = config . get ( CATEGORY_UU , " UUrecipe Water " , true , " Allow Water to be crafted with UU " )
. getBoolean ( true ) ;
UUrecipesLava = config . get ( CATEGORY_UU , " UUrecipe Lava " , true , " Allow Lava to be crafted with UU " )
. getBoolean ( true ) ;
UUrecipesCocoa = config . get ( CATEGORY_UU , " UUrecipe Cocoa " , true , " Allow Cocoa to be crafted with UU " )
. getBoolean ( true ) ;
UUrecipesGlowstoneBlock = config
2016-03-28 21:45:49 +02:00
. get ( CATEGORY_UU , " UUrecipe GlowstoneBlock " , true , " Allow Glowstone Blocks to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
UUrecipesCactus = config . get ( CATEGORY_UU , " UUrecipe Cactus " , true , " Allow Cactus to be crafted with UU " )
. getBoolean ( true ) ;
UUrecipesSugarCane = config
. get ( CATEGORY_UU , " UUrecipe SugarCane " , true , " Allow SugarCane to be crafted with UU " ) . getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesVine = config . get ( CATEGORY_UU , " UUrecipe Vine " , true , " Allow Vines to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
UUrecipesSnowBall = config . get ( CATEGORY_UU , " UUrecipe SnowBall " , true , " Allow SnowBall to be crafted with UU " )
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipeslilypad = config . get ( CATEGORY_UU , " UUrecipe lilypad " , true , " Allow lilypads to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesBone = config . get ( CATEGORY_UU , " UUrecipe Bone " , true , " Allow Bones to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesFeather = config . get ( CATEGORY_UU , " UUrecipe Feather " , true , " Allow Feathers to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
UUrecipesInk = config . get ( CATEGORY_UU , " UUrecipe Ink " , true , " Allow Ink to be crafted with UU " )
. getBoolean ( true ) ;
UUrecipesEnderPearl = config
2016-03-28 21:45:49 +02:00
. get ( CATEGORY_UU , " UUrecipe EnderPearl " , true , " Allow EnderPearls to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
UUrecipesCoal = config . get ( CATEGORY_UU , " UUrecipe Coal " , true , " Allow Coal to be crafted with UU " )
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesIronOre = config . get ( CATEGORY_UU , " UUrecipe IronOre " , true , " Allow Iron Ore to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesIronDust = config . get ( CATEGORY_UU , " UUrecipe IronDust " , true , " Allow Iron Dust to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesGoldOre = config . get ( CATEGORY_UU , " UUrecipe GoldOre " , true , " Allow Gold Ore to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesGoldDust = config . get ( CATEGORY_UU , " UUrecipe GoldDust " , true , " Allow Gold Dust to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesRedStone = config . get ( CATEGORY_UU , " UUrecipe RedStone " , true , " Allow Redstone to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesLapis = config . get ( CATEGORY_UU , " UUrecipe Lapis " , true , " Allow Lapis to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
UUrecipesEmeraldOre = config
2016-03-28 21:45:49 +02:00
. get ( CATEGORY_UU , " UUrecipe EmeraldOre " , true , " Allow EmeraldOre to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesEmerald = config . get ( CATEGORY_UU , " UUrecipe Emerald " , true , " Allow Emerald to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesDiamond = config . get ( CATEGORY_UU , " UUrecipe Diamond " , true , " Allow Diamond to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesResin = config . get ( CATEGORY_UU , " UUrecipe Resin " , true , " Allow Resin to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesTinDust = config . get ( CATEGORY_UU , " UUrecipe TinDust " , true , " Allow TinDust to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
UUrecipesCopperDust = config
2016-03-28 21:45:49 +02:00
. get ( CATEGORY_UU , " UUrecipe CopperDust " , true , " Allow CopperDust to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UUrecipesLeadDust = config . get ( CATEGORY_UU , " UUrecipe LeadDust " , true , " Allow LeadDust to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
UUrecipesPlatinumDust = config
2016-03-28 21:45:49 +02:00
. get ( CATEGORY_UU , " UUrecipe PlatinumDust " , true , " Allow PlatinumDust to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
UUrecipesTungstenDust = config
2016-03-28 21:45:49 +02:00
. get ( CATEGORY_UU , " UUrecipe TungstenDust " , true , " Allow TungstenDust to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
UUrecipesTitaniumDust = config
2016-03-28 21:45:49 +02:00
. get ( CATEGORY_UU , " UUrecipe TitaniumDust " , true , " Allow TitaniumDust to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
UUrecipesAluminumDust = config
2016-03-28 21:45:49 +02:00
. get ( CATEGORY_UU , " UUrecipe AluminumDust " , true , " Allow AluminumDust to be crafted with UU " )
2016-02-20 00:33:18 +01:00
. getBoolean ( true ) ;
ShowChargeHud = config . get ( CATEGORY_POWER , " Show Charge hud " , true , " Show Charge hud (ClientSideOnly) " )
. getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UseConnectedTextures = config . get ( CATEGORY_INTEGRATION , " Render Conected Textures " , true ,
2016-02-20 00:33:18 +01:00
" Render Conected Textures (Clinet Side Only) " ) . getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
OreUnifer = config . get ( CATEGORY_INTEGRATION , " OreUnifer " , false , " Change all ores into TechReborn Ores " )
2016-02-20 00:33:18 +01:00
. getBoolean ( false ) ;
2016-03-28 21:45:49 +02:00
UninsulatedElectocutionDamage = config . get ( CATEGORY_WORLD , " Uninsulated Electrocution Damage " , true ,
2016-03-25 10:47:34 +01:00
" Damage entities on contact with uninsulated cables " ) . getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UninsulatedElectocutionSound = config . get ( CATEGORY_WORLD , " Uninsulated Electrocution Sound " , true ,
2016-03-25 10:47:34 +01:00
" Play sound on contact with uninsulated cables " ) . getBoolean ( true ) ;
2016-03-28 21:45:49 +02:00
UninsulatedElectocutionParticle = config . get ( CATEGORY_WORLD , " Uninsulated Electrocution Particle " , true ,
2016-03-25 10:47:34 +01:00
" Spawn particles on contact with uninsulated cables " ) . getBoolean ( true ) ;
2016-03-08 06:46:29 +01:00
2016-03-28 21:45:49 +02:00
ScrapboxDispenser = config
. get ( CATEGORY_WORLD , " Scrapboxes in Dispenser " , true , " Allow scrapboxes to be opened via dispenser " )
2016-03-08 09:15:34 +01:00
. getBoolean ( true ) ;
2016-03-08 06:46:29 +01:00
ExpensiveWatermill = config
. get ( CATEGORY_CRAFTING , " Expensive Watermill " , true , " Allow TechReborn to change the Watermill recipe " )
. getBoolean ( true ) ;
2016-02-20 00:33:18 +01:00
// Integration
AllowBOPRecipes = config . get ( CATEGORY_INTEGRATION , " Allow Bop Recipes " , true , " Add BOP suport " )
. getBoolean ( true ) ;
AllowForestryRecipes = config . get ( CATEGORY_INTEGRATION , " Allow Forestry Recipes " , true , " Add Forestry suport " )
. getBoolean ( true ) ;
AllowNaturaRecipes = config . get ( CATEGORY_INTEGRATION , " Allow Natura Recipes " , true , " Add Natura suport " )
. getBoolean ( true ) ;
2016-03-25 10:47:34 +01:00
if ( config . hasChanged ( ) )
{
2016-02-20 00:33:18 +01:00
config . save ( ) ;
}
}
2016-03-28 21:45:49 +02:00
}