mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-26 06:43:01 +00:00
Compare commits
4
Commits
master
...
1.5.11-pre
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
64ef25dcb8 | ||
|
|
5ca2198e76 | ||
|
|
620d82d3bb | ||
|
|
b20324506e |
No files matched your search
+3
-3
@@ -1,10 +1,10 @@
|
|||||||
// Add your dependencies here
|
// Add your dependencies here
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly 'com.github.GTNewHorizons:GT5-Unofficial:5.09.49.55:dev'
|
compileOnly 'com.github.GTNewHorizons:GT5-Unofficial:5.09.49.60:dev'
|
||||||
api 'com.github.GTNewHorizons:Baubles:1.0.4:dev'
|
api 'com.github.GTNewHorizons:Baubles:1.0.4:dev'
|
||||||
api 'com.github.GTNewHorizons:ModularUI:1.2.0:dev'
|
api 'com.github.GTNewHorizons:ModularUI:1.2.1:dev'
|
||||||
api ('com.github.GTNewHorizons:ThaumicBoots:1.3.7:dev'){
|
api ('com.github.GTNewHorizons:ThaumicBoots:1.3.8:dev'){
|
||||||
exclude group: 'com.github.GTNewHorizons', module: 'Electro-Magic-Tools'
|
exclude group: 'com.github.GTNewHorizons', module: 'Electro-Magic-Tools'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.25'
|
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.27'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -12,6 +12,7 @@ import net.minecraft.item.crafting.IRecipe;
|
|||||||
import net.minecraft.nbt.NBTTagCompound;
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
import net.minecraftforge.oredict.OreDictionary;
|
import net.minecraftforge.oredict.OreDictionary;
|
||||||
|
|
||||||
|
import cpw.mods.fml.common.Loader;
|
||||||
import cpw.mods.fml.common.registry.GameRegistry;
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
import emt.EMT;
|
import emt.EMT;
|
||||||
import emt.util.EMTConfigHandler;
|
import emt.util.EMTConfigHandler;
|
||||||
@@ -1091,54 +1092,58 @@ public class EMTRecipes {
|
|||||||
|
|
||||||
/** IC2 Stuff related recipes **/
|
/** IC2 Stuff related recipes **/
|
||||||
|
|
||||||
/* Ore Clusters Macerator Recipes */
|
final boolean isDreamcraftLoaded = Loader.isModLoaded("dreamcraft");
|
||||||
ItemStack ironClusterRecipe = IC2Items.getItem("smallIronDust").copy();
|
|
||||||
ironClusterRecipe.stackSize = 22;
|
|
||||||
((BasicMachineRecipeManager) Recipes.macerator).addRecipe(
|
|
||||||
new RecipeInputItemStack(new ItemStack(ConfigItems.itemNugget, 1, 16)),
|
|
||||||
null,
|
|
||||||
true,
|
|
||||||
ironClusterRecipe);
|
|
||||||
|
|
||||||
ItemStack goldClusterRecipe = IC2Items.getItem("smallGoldDust").copy();
|
if (isDreamcraftLoaded) {
|
||||||
goldClusterRecipe.stackSize = 22;
|
/* Ore Clusters Macerator Recipes */
|
||||||
((BasicMachineRecipeManager) Recipes.macerator).addRecipe(
|
ItemStack ironClusterRecipe = IC2Items.getItem("smallIronDust").copy();
|
||||||
new RecipeInputItemStack(new ItemStack(ConfigItems.itemNugget, 1, 31)),
|
ironClusterRecipe.stackSize = 22;
|
||||||
null,
|
((BasicMachineRecipeManager) Recipes.macerator).addRecipe(
|
||||||
true,
|
new RecipeInputItemStack(new ItemStack(ConfigItems.itemNugget, 1, 16)),
|
||||||
goldClusterRecipe);
|
null,
|
||||||
|
true,
|
||||||
|
ironClusterRecipe);
|
||||||
|
|
||||||
ItemStack copperClusterRecipe = IC2Items.getItem("smallCopperDust").copy();
|
ItemStack goldClusterRecipe = IC2Items.getItem("smallGoldDust").copy();
|
||||||
copperClusterRecipe.stackSize = 22;
|
goldClusterRecipe.stackSize = 22;
|
||||||
((BasicMachineRecipeManager) Recipes.macerator).addRecipe(
|
((BasicMachineRecipeManager) Recipes.macerator).addRecipe(
|
||||||
new RecipeInputItemStack(new ItemStack(ConfigItems.itemNugget, 1, 17)),
|
new RecipeInputItemStack(new ItemStack(ConfigItems.itemNugget, 1, 31)),
|
||||||
null,
|
null,
|
||||||
true,
|
true,
|
||||||
copperClusterRecipe);
|
goldClusterRecipe);
|
||||||
|
|
||||||
ItemStack tinClusterRecipe = IC2Items.getItem("smallTinDust").copy();
|
ItemStack copperClusterRecipe = IC2Items.getItem("smallCopperDust").copy();
|
||||||
tinClusterRecipe.stackSize = 22;
|
copperClusterRecipe.stackSize = 22;
|
||||||
((BasicMachineRecipeManager) Recipes.macerator).addRecipe(
|
((BasicMachineRecipeManager) Recipes.macerator).addRecipe(
|
||||||
new RecipeInputItemStack(new ItemStack(ConfigItems.itemNugget, 1, 18)),
|
new RecipeInputItemStack(new ItemStack(ConfigItems.itemNugget, 1, 17)),
|
||||||
null,
|
null,
|
||||||
true,
|
true,
|
||||||
tinClusterRecipe);
|
copperClusterRecipe);
|
||||||
|
|
||||||
ItemStack silverClusterRecipe = IC2Items.getItem("smallSilverDust").copy();
|
ItemStack tinClusterRecipe = IC2Items.getItem("smallTinDust").copy();
|
||||||
silverClusterRecipe.stackSize = 22;
|
tinClusterRecipe.stackSize = 22;
|
||||||
((BasicMachineRecipeManager) Recipes.macerator).addRecipe(
|
((BasicMachineRecipeManager) Recipes.macerator).addRecipe(
|
||||||
new RecipeInputItemStack(new ItemStack(ConfigItems.itemNugget, 1, 19)),
|
new RecipeInputItemStack(new ItemStack(ConfigItems.itemNugget, 1, 18)),
|
||||||
null,
|
null,
|
||||||
true,
|
true,
|
||||||
silverClusterRecipe);
|
tinClusterRecipe);
|
||||||
|
|
||||||
ItemStack leadClusterRecipe = IC2Items.getItem("smallLeadDust").copy();
|
ItemStack silverClusterRecipe = IC2Items.getItem("smallSilverDust").copy();
|
||||||
leadClusterRecipe.stackSize = 22;
|
silverClusterRecipe.stackSize = 22;
|
||||||
((BasicMachineRecipeManager) Recipes.macerator).addRecipe(
|
((BasicMachineRecipeManager) Recipes.macerator).addRecipe(
|
||||||
new RecipeInputItemStack(new ItemStack(ConfigItems.itemNugget, 1, 20)),
|
new RecipeInputItemStack(new ItemStack(ConfigItems.itemNugget, 1, 19)),
|
||||||
null,
|
null,
|
||||||
true,
|
true,
|
||||||
leadClusterRecipe);
|
silverClusterRecipe);
|
||||||
|
|
||||||
|
ItemStack leadClusterRecipe = IC2Items.getItem("smallLeadDust").copy();
|
||||||
|
leadClusterRecipe.stackSize = 22;
|
||||||
|
((BasicMachineRecipeManager) Recipes.macerator).addRecipe(
|
||||||
|
new RecipeInputItemStack(new ItemStack(ConfigItems.itemNugget, 1, 20)),
|
||||||
|
null,
|
||||||
|
true,
|
||||||
|
leadClusterRecipe);
|
||||||
|
}
|
||||||
|
|
||||||
/* Thaumium Plates Recipes */
|
/* Thaumium Plates Recipes */
|
||||||
thaumiumPlate = GameRegistry.addShapedRecipe(
|
thaumiumPlate = GameRegistry.addShapedRecipe(
|
||||||
@@ -1152,76 +1157,79 @@ public class EMTRecipes {
|
|||||||
new ItemStack(IC2Items.getItem("ForgeHammer").getItem(), 1, OreDictionary.WILDCARD_VALUE),
|
new ItemStack(IC2Items.getItem("ForgeHammer").getItem(), 1, OreDictionary.WILDCARD_VALUE),
|
||||||
'Z',
|
'Z',
|
||||||
new ItemStack(Blocks.obsidian));
|
new ItemStack(Blocks.obsidian));
|
||||||
Recipes.metalformerRolling.addRecipe(
|
|
||||||
new RecipeInputItemStack(new ItemStack(ConfigItems.itemResource, 1, 2)),
|
|
||||||
null,
|
|
||||||
new ItemStack(EMTItems.itemEMTItems, 1, 5));
|
|
||||||
|
|
||||||
/* Ore Processing for Amber and Cinnabar */
|
if (isDreamcraftLoaded) {
|
||||||
if (EMTConfigHandler.removeAmberAndCinnabarMacerating) {
|
Recipes.metalformerRolling.addRecipe(
|
||||||
for (Iterator<IRecipeInput> it = Recipes.macerator.getRecipes().keySet().iterator(); it.hasNext();) {
|
new RecipeInputItemStack(new ItemStack(ConfigItems.itemResource, 1, 2)),
|
||||||
IRecipeInput input = it.next();
|
null,
|
||||||
if (input.matches(new ItemStack(ConfigBlocks.blockCustomOre, 1, 7))) {
|
new ItemStack(EMTItems.itemEMTItems, 1, 5));
|
||||||
it.remove();
|
|
||||||
EMT.LOGGER.info("Removing conflicting amber macerating recipe(s)");
|
/* Ore Processing for Amber and Cinnabar */
|
||||||
|
if (EMTConfigHandler.removeAmberAndCinnabarMacerating) {
|
||||||
|
for (Iterator<IRecipeInput> it = Recipes.macerator.getRecipes().keySet().iterator(); it.hasNext();) {
|
||||||
|
IRecipeInput input = it.next();
|
||||||
|
if (input.matches(new ItemStack(ConfigBlocks.blockCustomOre, 1, 7))) {
|
||||||
|
it.remove();
|
||||||
|
EMT.LOGGER.info("Removing conflicting amber macerating recipe(s)");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for (Iterator<IRecipeInput> it = Recipes.macerator.getRecipes().keySet().iterator(); it.hasNext();) {
|
||||||
|
IRecipeInput input = it.next();
|
||||||
|
if (input.matches(new ItemStack(ConfigBlocks.blockCustomOre, 1, 0))) {
|
||||||
|
it.remove();
|
||||||
|
EMT.LOGGER.info("Removing Conflicting cinnabar macerating recipe(s)");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ItemStack crushedAmberRecipe = new ItemStack(EMTItems.itemEMTItems, 1, 1);
|
||||||
|
crushedAmberRecipe.stackSize = 2;
|
||||||
|
Recipes.macerator.addRecipe(
|
||||||
|
new RecipeInputItemStack(new ItemStack(ConfigBlocks.blockCustomOre, 1, 7)),
|
||||||
|
null,
|
||||||
|
crushedAmberRecipe);
|
||||||
|
|
||||||
for (Iterator<IRecipeInput> it = Recipes.macerator.getRecipes().keySet().iterator(); it.hasNext();) {
|
ItemStack crushedCinnabarRecipe = new ItemStack(EMTItems.itemEMTItems, 1, 3);
|
||||||
IRecipeInput input = it.next();
|
crushedCinnabarRecipe.stackSize = 2;
|
||||||
if (input.matches(new ItemStack(ConfigBlocks.blockCustomOre, 1, 0))) {
|
Recipes.macerator.addRecipe(
|
||||||
it.remove();
|
new RecipeInputItemStack(new ItemStack(ConfigBlocks.blockCustomOre, 1, 0)),
|
||||||
EMT.LOGGER.info("Removing Conflicting cinnabar macerating recipe(s)");
|
null,
|
||||||
}
|
crushedCinnabarRecipe);
|
||||||
}
|
|
||||||
|
NBTTagCompound waterAmount = new NBTTagCompound();
|
||||||
|
waterAmount.setInteger("amount", 1000);
|
||||||
|
|
||||||
|
ItemStack smallCopperDust = IC2Items.getItem("smallCopperDust");
|
||||||
|
smallCopperDust.stackSize = 2;
|
||||||
|
ItemStack smallTinDust = IC2Items.getItem("smallTinDust");
|
||||||
|
smallCopperDust.stackSize = 2;
|
||||||
|
|
||||||
|
Recipes.oreWashing.addRecipe(
|
||||||
|
new RecipeInputItemStack(new ItemStack(EMTItems.itemEMTItems, 1, 1)),
|
||||||
|
waterAmount,
|
||||||
|
new ItemStack(EMTItems.itemEMTItems, 1, 2),
|
||||||
|
smallCopperDust,
|
||||||
|
IC2Items.getItem("stoneDust"));
|
||||||
|
Recipes.oreWashing.addRecipe(
|
||||||
|
new RecipeInputItemStack(new ItemStack(EMTItems.itemEMTItems, 1, 3)),
|
||||||
|
waterAmount,
|
||||||
|
new ItemStack(EMTItems.itemEMTItems, 1, 4),
|
||||||
|
smallTinDust,
|
||||||
|
IC2Items.getItem("stoneDust"));
|
||||||
|
|
||||||
|
NBTTagCompound heatAmount = new NBTTagCompound();
|
||||||
|
heatAmount.setInteger("minHeat", 1000);
|
||||||
|
|
||||||
|
Recipes.centrifuge.addRecipe(
|
||||||
|
new RecipeInputItemStack(new ItemStack(EMTItems.itemEMTItems, 1, 2)),
|
||||||
|
heatAmount,
|
||||||
|
IC2Items.getItem("smallCopperDust"),
|
||||||
|
new ItemStack(ConfigItems.itemResource, 1, 6));
|
||||||
|
Recipes.centrifuge.addRecipe(
|
||||||
|
new RecipeInputItemStack(new ItemStack(EMTItems.itemEMTItems, 1, 4)),
|
||||||
|
heatAmount,
|
||||||
|
IC2Items.getItem("smallTinDust"),
|
||||||
|
new ItemStack(ConfigItems.itemResource, 1, 3));
|
||||||
}
|
}
|
||||||
ItemStack crushedAmberRecipe = new ItemStack(EMTItems.itemEMTItems, 1, 1);
|
|
||||||
crushedAmberRecipe.stackSize = 2;
|
|
||||||
Recipes.macerator.addRecipe(
|
|
||||||
new RecipeInputItemStack(new ItemStack(ConfigBlocks.blockCustomOre, 1, 7)),
|
|
||||||
null,
|
|
||||||
crushedAmberRecipe);
|
|
||||||
|
|
||||||
ItemStack crushedCinnabarRecipe = new ItemStack(EMTItems.itemEMTItems, 1, 3);
|
|
||||||
crushedCinnabarRecipe.stackSize = 2;
|
|
||||||
Recipes.macerator.addRecipe(
|
|
||||||
new RecipeInputItemStack(new ItemStack(ConfigBlocks.blockCustomOre, 1, 0)),
|
|
||||||
null,
|
|
||||||
crushedCinnabarRecipe);
|
|
||||||
|
|
||||||
NBTTagCompound waterAmount = new NBTTagCompound();
|
|
||||||
waterAmount.setInteger("amount", 1000);
|
|
||||||
|
|
||||||
ItemStack smallCopperDust = IC2Items.getItem("smallCopperDust");
|
|
||||||
smallCopperDust.stackSize = 2;
|
|
||||||
ItemStack smallTinDust = IC2Items.getItem("smallTinDust");
|
|
||||||
smallCopperDust.stackSize = 2;
|
|
||||||
|
|
||||||
Recipes.oreWashing.addRecipe(
|
|
||||||
new RecipeInputItemStack(new ItemStack(EMTItems.itemEMTItems, 1, 1)),
|
|
||||||
waterAmount,
|
|
||||||
new ItemStack(EMTItems.itemEMTItems, 1, 2),
|
|
||||||
smallCopperDust,
|
|
||||||
IC2Items.getItem("stoneDust"));
|
|
||||||
Recipes.oreWashing.addRecipe(
|
|
||||||
new RecipeInputItemStack(new ItemStack(EMTItems.itemEMTItems, 1, 3)),
|
|
||||||
waterAmount,
|
|
||||||
new ItemStack(EMTItems.itemEMTItems, 1, 4),
|
|
||||||
smallTinDust,
|
|
||||||
IC2Items.getItem("stoneDust"));
|
|
||||||
|
|
||||||
NBTTagCompound heatAmount = new NBTTagCompound();
|
|
||||||
heatAmount.setInteger("minHeat", 1000);
|
|
||||||
|
|
||||||
Recipes.centrifuge.addRecipe(
|
|
||||||
new RecipeInputItemStack(new ItemStack(EMTItems.itemEMTItems, 1, 2)),
|
|
||||||
heatAmount,
|
|
||||||
IC2Items.getItem("smallCopperDust"),
|
|
||||||
new ItemStack(ConfigItems.itemResource, 1, 6));
|
|
||||||
Recipes.centrifuge.addRecipe(
|
|
||||||
new RecipeInputItemStack(new ItemStack(EMTItems.itemEMTItems, 1, 4)),
|
|
||||||
heatAmount,
|
|
||||||
IC2Items.getItem("smallTinDust"),
|
|
||||||
new ItemStack(ConfigItems.itemResource, 1, 3));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user