More Configs

This commit is contained in:
Gig 2015-05-03 15:24:35 +01:00
parent c9eb3b8a02
commit 7914f530d2
2 changed files with 199 additions and 20 deletions

View file

@ -101,6 +101,7 @@ public class ConfigTechReborn {
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;
@ -641,6 +642,184 @@ public class ConfigTechReborn {
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesIridiamOre.tooltip"))
.getBoolean(true);
UUrecipesWood = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesWood"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesWood.tooltip"))
.getBoolean(true);
UUrecipesStone = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesStone"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesStone.tooltip"))
.getBoolean(true);
UUrecipesSnowBlock = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesSnowBlock"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesSnowBlock.tooltip"))
.getBoolean(true);
UUrecipesGrass = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesGrass"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesGrass.tooltip"))
.getBoolean(true);
UUrecipesObsidian = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesObsidian"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesObsidian.tooltip"))
.getBoolean(true);
UUrecipesGlass = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesGlass"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesGlass.tooltip"))
.getBoolean(true);
UUrecipesWater = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesWater"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesWater.tooltip"))
.getBoolean(true);
UUrecipesLava = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesLava"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesLava.tooltip"))
.getBoolean(true);
UUrecipesCocoa = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesCocoa"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesCocoa.tooltip"))
.getBoolean(true);
UUrecipesGlowstoneBlock = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesGlowstoneBlock"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesGlowstoneBlock.tooltip"))
.getBoolean(true);
UUrecipesCactus = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesCactus"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesCactus.tooltip"))
.getBoolean(true);
UUrecipesSugarCane = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesSugarCane"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesSugarCane.tooltip"))
.getBoolean(true);
UUrecipesVine = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesVine"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesVine.tooltip"))
.getBoolean(true);
UUrecipesSnowBall = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesSnowBall"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesSnowBall.tooltip"))
.getBoolean(true);
UUrecipeslilypad = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesLilypad"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesLilypad.tooltip"))
.getBoolean(true);
UUrecipesBone = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesBone"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesBone.tooltip"))
.getBoolean(true);
UUrecipesFeather = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesFeather"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesFeather.tooltip"))
.getBoolean(true);
UUrecipesInk = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesInk"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesInk.tooltip"))
.getBoolean(true);
UUrecipesEnderPearl = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesEnderPearl"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesEnderPearl.tooltip"))
.getBoolean(true);
UUrecipesGunpowder = config
.get(CATEGORY_UU,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesGunPowder"),
true,
StatCollector
.translateToLocal("config.techreborn.allow.uurecipesGunPowder.tooltip"))
.getBoolean(true);
if (config.hasChanged())
config.save();

View file

@ -298,7 +298,7 @@ public class ModRecipes {
"UUU",
'U', ModItems.uuMatter
});
if(config.UUrecipesWood);
CraftingHelper.addShapedOreRecipe(new ItemStack(Blocks.log, 8),
new Object[]
{
@ -307,7 +307,7 @@ public class ModRecipes {
" ",
'U', ModItems.uuMatter
});
if(config.UUrecipesStone);
CraftingHelper.addShapedOreRecipe(new ItemStack(Blocks.stone, 16),
new Object[]
{
@ -316,7 +316,7 @@ public class ModRecipes {
" ",
'U', ModItems.uuMatter
});
if(config.UUrecipesSnowBlock);
CraftingHelper.addShapedOreRecipe(new ItemStack(Blocks.snow, 16),
new Object[]
{
@ -325,7 +325,7 @@ public class ModRecipes {
" ",
'U', ModItems.uuMatter
});
if(config.UUrecipesGrass);
CraftingHelper.addShapedOreRecipe(new ItemStack(Blocks.grass, 16),
new Object[]
{
@ -334,7 +334,7 @@ public class ModRecipes {
"U ",
'U', ModItems.uuMatter
});
if(config.UUrecipesObsidian);
CraftingHelper.addShapedOreRecipe(new ItemStack(Blocks.obsidian, 12),
new Object[]
{
@ -343,7 +343,7 @@ public class ModRecipes {
" ",
'U', ModItems.uuMatter
});
if(config.UUrecipesGlass);
CraftingHelper.addShapedOreRecipe(new ItemStack(Blocks.glass, 32),
new Object[]
{
@ -352,7 +352,7 @@ public class ModRecipes {
" U ",
'U', ModItems.uuMatter
});
if(config.UUrecipesWater);
CraftingHelper.addShapedOreRecipe(new ItemStack(Blocks.water, 1),
new Object[]
{
@ -361,7 +361,7 @@ public class ModRecipes {
" U ",
'U', ModItems.uuMatter
});
if(config.UUrecipesLava);
CraftingHelper.addShapedOreRecipe(new ItemStack(Blocks.lava, 1),
new Object[]
{
@ -370,7 +370,7 @@ public class ModRecipes {
" U ",
'U', ModItems.uuMatter
});
if(config.UUrecipesCocoa);
CraftingHelper.addShapedOreRecipe(new ItemStack(Items.dye, 32, 3),
new Object[]
{
@ -379,7 +379,7 @@ public class ModRecipes {
"UU ",
'U', ModItems.uuMatter
});
if(config.UUrecipesGlowstoneBlock);
CraftingHelper.addShapedOreRecipe(new ItemStack(Blocks.glowstone, 8),
new Object[]
{
@ -388,7 +388,7 @@ public class ModRecipes {
"UUU",
'U', ModItems.uuMatter
});
if(config.UUrecipesCactus);
CraftingHelper.addShapedOreRecipe(new ItemStack(Blocks.cactus, 48),
new Object[]
{
@ -397,7 +397,7 @@ public class ModRecipes {
"U U",
'U', ModItems.uuMatter
});
if(config.UUrecipesSugarCane);
CraftingHelper.addShapedOreRecipe(new ItemStack(Items.reeds, 48),
new Object[]
{
@ -406,7 +406,7 @@ public class ModRecipes {
"U U",
'U', ModItems.uuMatter
});
if(config.UUrecipesVine);
CraftingHelper.addShapedOreRecipe(new ItemStack(Blocks.vine, 24),
new Object[]
{
@ -415,7 +415,7 @@ public class ModRecipes {
"U ",
'U', ModItems.uuMatter
});
if(config.UUrecipesSnowBall);
CraftingHelper.addShapedOreRecipe(new ItemStack(Items.snowball, 16),
new Object[]
{
@ -433,7 +433,7 @@ public class ModRecipes {
"UU ",
'U', ModItems.uuMatter
});
if(config.UUrecipeslilypad);
CraftingHelper.addShapedOreRecipe(new ItemStack(Blocks.waterlily, 64),
new Object[]
{
@ -442,7 +442,7 @@ public class ModRecipes {
" U ",
'U', ModItems.uuMatter
});
if(config.UUrecipesGunpowder);
CraftingHelper.addShapedOreRecipe(new ItemStack(Items.gunpowder, 15),
new Object[]
{
@ -451,7 +451,7 @@ public class ModRecipes {
"UUU",
'U', ModItems.uuMatter
});
if(config.UUrecipesBone);
CraftingHelper.addShapedOreRecipe(new ItemStack(Items.bone, 32),
new Object[]
{
@ -460,7 +460,7 @@ public class ModRecipes {
"U ",
'U', ModItems.uuMatter
});
if(config.UUrecipesFeather);
CraftingHelper.addShapedOreRecipe(new ItemStack(Items.feather, 32),
new Object[]
{
@ -469,7 +469,7 @@ public class ModRecipes {
"U U",
'U', ModItems.uuMatter
});
if(config.UUrecipesInk);
CraftingHelper.addShapedOreRecipe(new ItemStack(Items.dye, 48),
new Object[]
{
@ -478,7 +478,7 @@ public class ModRecipes {
" U ",
'U', ModItems.uuMatter
});
if(config.UUrecipesEnderPearl);
CraftingHelper.addShapedOreRecipe(new ItemStack(Items.ender_pearl, 1),
new Object[]
{