Removed OLD textures
Added texture for uu Added 1st uu recipe Added configs
|
@ -10,6 +10,7 @@ public class ConfigTechReborn {
|
|||
public static String CATEGORY_WORLD = "world";
|
||||
public static String CATEGORY_POWER = "power";
|
||||
public static String CATEGORY_CRAFTING = "crafting";
|
||||
public static String CATEGORY_UU = "uu";
|
||||
|
||||
// WORLDGEN
|
||||
public static boolean GalenaOreTrue;
|
||||
|
@ -87,6 +88,11 @@ public class ConfigTechReborn {
|
|||
public static boolean ExpensiveDrill;
|
||||
public static boolean ExpensiveDiamondDrill;
|
||||
public static boolean ExpensiveSolar;
|
||||
|
||||
//UU
|
||||
public static boolean HideUuRecipes;
|
||||
public static boolean UUrecipesIridiamOre;
|
||||
|
||||
|
||||
public static Configuration config;
|
||||
|
||||
|
@ -580,6 +586,23 @@ public class ConfigTechReborn {
|
|||
StatCollector
|
||||
.translateToLocal("config.techreborn.allowExpensiveSolarPanels.tooltip"))
|
||||
.getBoolean(true);
|
||||
//Uu
|
||||
HideUuRecipes = config
|
||||
.get(CATEGORY_UU,
|
||||
StatCollector
|
||||
.translateToLocal("config.techreborn.allow.hiderecipes"),
|
||||
true,
|
||||
StatCollector
|
||||
.translateToLocal("config.techreborn.allow.hiderecipes.tooltip"))
|
||||
.getBoolean(true);
|
||||
UUrecipesIridiamOre = config
|
||||
.get(CATEGORY_UU,
|
||||
StatCollector
|
||||
.translateToLocal("config.techreborn.allow.uurecipesIridiamOre"),
|
||||
true,
|
||||
StatCollector
|
||||
.translateToLocal("config.techreborn.allow.uurecipesIridiamOre.tooltip"))
|
||||
.getBoolean(true);
|
||||
|
||||
if (config.hasChanged())
|
||||
config.save();
|
||||
|
|
|
@ -35,6 +35,9 @@ public class TechRebornConfigGui extends GuiConfig {
|
|||
list.add(new DummyConfigElement.DummyCategoryElement(StatCollector
|
||||
.translateToLocal("config.techreborn.category.crafting"),
|
||||
"tr.configgui.category.trCrafting", TRCRAFTING.class));
|
||||
list.add(new DummyConfigElement.DummyCategoryElement(StatCollector
|
||||
.translateToLocal("config.techreborn.category.uu"),
|
||||
"tr.configgui.category.truu", TRUU.class));
|
||||
|
||||
return list;
|
||||
}
|
||||
|
@ -138,4 +141,29 @@ public class TechRebornConfigGui extends GuiConfig {
|
|||
.toString()));
|
||||
}
|
||||
}
|
||||
|
||||
// Crafting
|
||||
public static class TRUU extends CategoryEntry {
|
||||
public TRUU(GuiConfig owningScreen,
|
||||
GuiConfigEntries owningEntryList, IConfigElement configElement)
|
||||
{
|
||||
super(owningScreen, owningEntryList, configElement);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected GuiScreen buildChildScreen()
|
||||
{
|
||||
return new GuiConfig(this.owningScreen,
|
||||
(new ConfigElement(ConfigTechReborn.config
|
||||
.getCategory(ConfigTechReborn.CATEGORY_UU)))
|
||||
.getChildElements(), this.owningScreen.modID,
|
||||
Configuration.CATEGORY_GENERAL,
|
||||
this.configElement.requiresWorldRestart()
|
||||
|| this.owningScreen.allRequireWorldRestart,
|
||||
this.configElement.requiresMcRestart()
|
||||
|| this.owningScreen.allRequireMcRestart,
|
||||
GuiConfig.getAbridgedConfigPath(ConfigTechReborn.config
|
||||
.toString()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package techreborn.init;
|
||||
|
||||
import codechicken.nei.api.API;
|
||||
import ic2.api.item.IC2Items;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
|
@ -23,6 +24,7 @@ public class ModRecipes {
|
|||
addShappedRecipes();
|
||||
addSmeltingRecipes();
|
||||
addMachineRecipes();
|
||||
addUUrecipes();
|
||||
}
|
||||
|
||||
public static void removeIc2Recipes()
|
||||
|
@ -284,5 +286,25 @@ public class ModRecipes {
|
|||
TechRebornAPI.registerBlastFurnaceRecipe(new BlastFurnaceRecipe(new ItemStack(Items.apple), new ItemStack(Items.ender_pearl), new ItemStack(Items.golden_apple), new ItemStack(Items.diamond), 120, 1000));
|
||||
LogHelper.info("Machine Recipes Added");
|
||||
}
|
||||
|
||||
public static void addUUrecipes()
|
||||
{
|
||||
if(config.UUrecipesIridiamOre);
|
||||
CraftingHelper.addShapedOreRecipe((IC2Items.getItem("iridiumOre")),
|
||||
new Object[]
|
||||
{
|
||||
"III", " I ", "III",
|
||||
'I', ModItems.uuMatter
|
||||
});
|
||||
|
||||
if(config.HideUuRecipes);
|
||||
hideUUrecipes();
|
||||
|
||||
}
|
||||
|
||||
public static void hideUUrecipes()
|
||||
{
|
||||
//TODO
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ public class ItemUUmatter extends Item{
|
|||
@Override
|
||||
public void registerIcons(IIconRegister iconRegister)
|
||||
{
|
||||
this.itemIcon = iconRegister.registerIcon("techreborn:"+ "uumatter");
|
||||
this.itemIcon = iconRegister.registerIcon("techreborn:"+ "misc/itemMatter");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 461 B |
Before Width: | Height: | Size: 461 B |
Before Width: | Height: | Size: 451 B |
Before Width: | Height: | Size: 578 B |
Before Width: | Height: | Size: 578 B |
Before Width: | Height: | Size: 473 B |
Before Width: | Height: | Size: 375 B |
Before Width: | Height: | Size: 451 B |
Before Width: | Height: | Size: 634 B |
Before Width: | Height: | Size: 382 B |
Before Width: | Height: | Size: 605 B |
Before Width: | Height: | Size: 625 B |
Before Width: | Height: | Size: 625 B |
Before Width: | Height: | Size: 425 B |
Before Width: | Height: | Size: 538 B |
Before Width: | Height: | Size: 515 B |
Before Width: | Height: | Size: 490 B |
Before Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 486 B |
Before Width: | Height: | Size: 602 B |
Before Width: | Height: | Size: 504 B |
Before Width: | Height: | Size: 488 B |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 461 B |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 267 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 346 B |
Before Width: | Height: | Size: 230 B |
Before Width: | Height: | Size: 649 B |
Before Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 661 B |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 607 B |
Before Width: | Height: | Size: 502 B |
Before Width: | Height: | Size: 617 B |
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 197 B |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 554 B |