aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Java/gtPlusPlus/core/item/ModItems.java4
-rw-r--r--src/Java/gtPlusPlus/core/material/ALLOY.java3
-rw-r--r--src/Java/gtPlusPlus/core/material/ELEMENT.java2
-rw-r--r--src/Java/gtPlusPlus/core/material/MISC_MATERIALS.java57
-rw-r--r--src/Java/gtPlusPlus/core/material/ORES.java2
-rw-r--r--src/Java/gtPlusPlus/core/recipe/RECIPES_GREGTECH.java475
-rw-r--r--src/Java/gtPlusPlus/core/util/minecraft/EnergyUtils.java4
-rw-r--r--src/Java/gtPlusPlus/core/util/minecraft/MaterialUtils.java11
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GT_MetaTileEntity_SemiFluidGenerator.java12
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GregtechMetaTileEntity_RTG.java8
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaPollutionCreator.java2
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaTileEntity_CompactFusionReactor.java52
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaTileEntity_PocketFusion.java52
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_Plates.java15
14 files changed, 402 insertions, 297 deletions
diff --git a/src/Java/gtPlusPlus/core/item/ModItems.java b/src/Java/gtPlusPlus/core/item/ModItems.java
index 51d41674d3..e504c1c2b4 100644
--- a/src/Java/gtPlusPlus/core/item/ModItems.java
+++ b/src/Java/gtPlusPlus/core/item/ModItems.java
@@ -82,6 +82,7 @@ import gtPlusPlus.core.lib.CORE.ConfigSwitches;
import gtPlusPlus.core.lib.LoadedMods;
import gtPlusPlus.core.material.ALLOY;
import gtPlusPlus.core.material.ELEMENT;
+import gtPlusPlus.core.material.MISC_MATERIALS;
import gtPlusPlus.core.material.Material;
import gtPlusPlus.core.material.MaterialGenerator;
import gtPlusPlus.core.material.NONMATERIAL;
@@ -539,6 +540,9 @@ public final class ModItems {
MaterialGenerator.generate(ELEMENT.STANDALONE.GRANITE, false, false);
MaterialGenerator.generate(ELEMENT.STANDALONE.RUNITE, false);
MaterialGenerator.generate(ELEMENT.STANDALONE.DRAGON_METAL, false);
+
+ MISC_MATERIALS.run();
+
//Carbides - Tungsten Carbide exists in .09 so don't generate it. - Should still come before alloys though
if (!CORE.MAIN_GREGTECH_5U_EXPERIMENTAL_FORK){
diff --git a/src/Java/gtPlusPlus/core/material/ALLOY.java b/src/Java/gtPlusPlus/core/material/ALLOY.java
index d2639a220f..1df843da0b 100644
--- a/src/Java/gtPlusPlus/core/material/ALLOY.java
+++ b/src/Java/gtPlusPlus/core/material/ALLOY.java
@@ -695,7 +695,8 @@ public final class ALLOY {
new MaterialStack(ELEMENT.getInstance().TRINIUM_REFINED, 30),
new MaterialStack(ALLOY.MARAGING350, 40),
new MaterialStack(ALLOY.TUNGSTENSTEEL, 20),
- new MaterialStack(ALLOY.OSMIRIDIUM, 10)
+ new MaterialStack(ALLOY.OSMIRIDIUM, 10),
+ new MaterialStack(ELEMENT.getInstance().STRONTIUM, 10)
});
diff --git a/src/Java/gtPlusPlus/core/material/ELEMENT.java b/src/Java/gtPlusPlus/core/material/ELEMENT.java
index 9ba6fe0f1d..99586b37fe 100644
--- a/src/Java/gtPlusPlus/core/material/ELEMENT.java
+++ b/src/Java/gtPlusPlus/core/material/ELEMENT.java
@@ -51,7 +51,7 @@ public final class ELEMENT {
public final Material BROMINE = new Material("Bromine", MaterialState.PURE_LIQUID, new short[]{200, 25, 25}, -7, 58, 35, 45, false, "Br", 0);//Not a GT Inherited Material
public final Material KRYPTON = new Material("Krypton", MaterialState.PURE_LIQUID, new short[]{255, 255, 255}, -157, -153, 36, 48, false, "Kr", 0);//Not a GT Inherited Material
public final Material RUBIDIUM = MaterialUtils.generateMaterialFromGtENUM(Materials.Rubidium);
- public final Material STRONTIUM = MaterialUtils.generateMaterialFromGtENUM(Materials.Strontium);
+ public final Material STRONTIUM = MaterialUtils.generateMaterialFromGtENUM(Materials.Strontium, new short[] {230, 210, 110}, TextureSet.SET_FLINT);
public final Material YTTRIUM = MaterialUtils.generateMaterialFromGtENUM(Materials.Yttrium);
public final Material ZIRCONIUM = new Material("Zirconium", MaterialState.SOLID, new short[]{255, 250, 205}, 1855, 4377, 40, 51, false, "Zr", 0);//Not a GT Inherited Material
public final Material NIOBIUM = MaterialUtils.generateMaterialFromGtENUM(Materials.Niobium);
diff --git a/src/Java/gtPlusPlus/core/material/MISC_MATERIALS.java b/src/Java/gtPlusPlus/core/material/MISC_MATERIALS.java
new file mode 100644
index 0000000000..69ee3e963d
--- /dev/null
+++ b/src/Java/gtPlusPlus/core/material/MISC_MATERIALS.java
@@ -0,0 +1,57 @@
+package gtPlusPlus.core.material;
+
+import gregtech.api.enums.TextureSet;
+import gtPlusPlus.core.material.nuclear.FLUORIDES;
+import gtPlusPlus.core.material.state.MaterialState;
+import gtPlusPlus.core.util.minecraft.ItemUtils;
+import gtPlusPlus.core.util.minecraft.MaterialUtils;
+
+public final class MISC_MATERIALS {
+
+ /*
+ * Some of these materials purely exist as data objects, items will most likely be assigned seperately.
+ * Most are just compositions which will have dusts assigned to them.
+ */
+
+ public static void run() {
+ MaterialUtils.generateSpecialDustAndAssignToAMaterial(STRONTIUM_OXIDE);
+ MaterialUtils.generateSpecialDustAndAssignToAMaterial(STRONTIUM_HYDROXIDE);
+ }
+
+ public static final Material STRONTIUM_OXIDE = new Material(
+ "Strontium Oxide",
+ MaterialState.SOLID,
+ TextureSet.SET_METALLIC,
+ null,
+ -1,
+ -1,
+ -1,
+ -1,
+ false,
+ "SrO",
+ 0,
+ new MaterialStack[]{
+ new MaterialStack(ELEMENT.getInstance().STRONTIUM, 1),
+ new MaterialStack(ELEMENT.getInstance().OXYGEN, 1)
+ });
+
+ public static final Material STRONTIUM_HYDROXIDE = new Material(
+ "Strontium Hydroxide",
+ MaterialState.SOLID,
+ TextureSet.SET_METALLIC,
+ null,
+ -1,
+ -1,
+ -1,
+ -1,
+ false,
+ "Sr(OH)2",
+ 0,
+ new MaterialStack[]{
+ new MaterialStack(ELEMENT.getInstance().STRONTIUM, 1),
+ new MaterialStack(FLUORIDES.HYDROXIDE, 2)
+ });
+
+
+
+}
diff --git a/src/Java/gtPlusPlus/core/material/ORES.java b/src/Java/gtPlusPlus/core/material/ORES.java
index 801e4924b3..0e1691a557 100644
--- a/src/Java/gtPlusPlus/core/material/ORES.java
+++ b/src/Java/gtPlusPlus/core/material/ORES.java
@@ -545,7 +545,7 @@ public final class ORES {
-1, //Radiation
new MaterialStack[]{// (Ca,Sr,Ce,Na)5(PO4)3F
new MaterialStack(ELEMENT.getInstance().CALCIUM, 5),
- new MaterialStack(ELEMENT.getInstance().STRONTIUM, 5),
+ new MaterialStack(MISC_MATERIALS.STRONTIUM_OXIDE, 5),
new MaterialStack(ELEMENT.getInstance().CERIUM, 5),
new MaterialStack(ELEMENT.getInstance().SODIUM, 5),
new MaterialStack(ELEMENT.getInstance().PHOSPHORUS, 3),
diff --git a/src/Java/gtPlusPlus/core/recipe/RECIPES_GREGTECH.java b/src/Java/gtPlusPlus/core/recipe/RECIPES_GREGTECH.java
index 483fce8ce5..c00e15a007 100644
--- a/src/Java/gtPlusPlus/core/recipe/RECIPES_GREGTECH.java
+++ b/src/Java/gtPlusPlus/core/recipe/RECIPES_GREGTECH.java
@@ -26,6 +26,7 @@ import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.lib.LoadedMods;
import gtPlusPlus.core.material.ALLOY;
import gtPlusPlus.core.material.ELEMENT;
+import gtPlusPlus.core.material.MISC_MATERIALS;
import gtPlusPlus.core.material.MaterialStack;
import gtPlusPlus.core.material.NONMATERIAL;
import gtPlusPlus.core.material.ORES;
@@ -90,7 +91,7 @@ public class RECIPES_GREGTECH {
assemblyLineRecipes();
latheRecipes();
vacuumFreezerRecipes();
-
+
addFuels();
}
@@ -99,38 +100,38 @@ public class RECIPES_GREGTECH {
}
private static void latheRecipes() {
-
+
GT_Values.RA.addLatheRecipe(
ALLOY.EGLIN_STEEL.getBlock(1),
GregtechItemList.Bomb_Cast_Mold.get(1),
null,
20 * 60 * 15,
120);
-
+
GT_Values.RA.addLatheRecipe(
GregtechItemList.Bomb_Cast_Set.get(1),
GregtechItemList.Bomb_Cast_Broken.get(2),
ItemUtils.getSimpleStack(ModItems.itemBombCasing, 2),
20 * 60 * 5,
30);
-
+
}
private static void fusionRecipes() {
- /**
- * Adds a Fusion reactor Recipe
- *
- * @param aInput1 = first Input (not null, and respects StackSize)
- * @param aInput2 = second Input (not null, and respects StackSize)
- * @param aOutput = Output of the Fusion (can be null, and respects StackSize)
- * @param aFusionDurationInTicks = How many ticks the Fusion lasts (must be > 0)
- * @param aFusionEnergyPerTick = The EU generated per Tick (can even be negative!)
- * @param aEnergyNeededForStartingFusion = EU needed for heating the Reactor up (must be >= 0)
- */
-
+ /**
+ * Adds a Fusion reactor Recipe
+ *
+ * @param aInput1 = first Input (not null, and respects StackSize)
+ * @param aInput2 = second Input (not null, and respects StackSize)
+ * @param aOutput = Output of the Fusion (can be null, and respects StackSize)
+ * @param aFusionDurationInTicks = How many ticks the Fusion lasts (must be > 0)
+ * @param aFusionEnergyPerTick = The EU generated per Tick (can even be negative!)
+ * @param aEnergyNeededForStartingFusion = EU needed for heating the Reactor up (must be >= 0)
+ */
+
//Hydrogen Plasma
- /*CORE.RA.addFusionReactorRecipe(
+ /*CORE.RA.addFusionReactorRecipe(
Particle.getIon("Hydrogen", 0),
Particle.getIon("Hydrogen", 0),
Materials.Hydrogen.getPlasma(1),
@@ -138,8 +139,8 @@ public class RECIPES_GREGTECH {
16,
4096,
40000000);*/
-
-
+
+
//Hypogen Creation
GT_Values.RA.addFusionReactorRecipe(
Materials.Neutronium.getMolten(128),
@@ -157,23 +158,23 @@ public class RECIPES_GREGTECH {
2048 * 4,
(int) GT_Values.V[7],
150000000 * 2);
-
+
}
private static void assemblyLineRecipes() {
-
-
+
+
ItemStack[] aCoilWire = new ItemStack[] {
ItemUtils.simpleMetaStack("miscutils:itemDehydratorCoilWire", 0, GTNH ? 64 : 32),
ItemUtils.simpleMetaStack("miscutils:itemDehydratorCoilWire", 1, GTNH ? 48 : 16),
ItemUtils.simpleMetaStack("miscutils:itemDehydratorCoilWire", 2, GTNH ? 32 : 8),
ItemUtils.simpleMetaStack("miscutils:itemDehydratorCoilWire", 3, GTNH ? 16 : 4),
};
-
-
-
-
+
+
+
+
//Containment Casings
CORE.RA.addAssemblylineRecipe(
ItemDummyResearch.getResearchStack(ASSEMBLY_LINE_RESEARCH.RESEARCH_1_CONTAINMENT, 1),
@@ -199,12 +200,12 @@ public class RECIPES_GREGTECH {
ALLOY.ENERGYCRYSTAL.getFluid(144 * 9 * (GTNH ? 8 : 4)),
ALLOY.TUMBAGA.getFluid(144 * 9 * (GTNH ? 32 : 8)),
ALLOY.NICHROME.getFluid(144 * 1 * (GTNH ? 16 : 4)),
-
+
},
ItemUtils.getSimpleStack(ModBlocks.blockCasings3Misc, 15, 32),
20 * 60 * 10 * (GTNH ? 2 : 1),
(int) GT_Values.V[6]);
-
+
//Slow Fusion Controller
CORE.RA.addAssemblylineRecipe(
GregtechItemList.COMET_Cyclotron.get(1),
@@ -232,8 +233,8 @@ public class RECIPES_GREGTECH {
GregtechItemList.Miniature_Fusion.get(1),
20 * 60 * 5 * (GTNH ? 2 : 1),
(int) GT_Values.V[7]);
-
-
+
+
//Plasma Tank
CORE.RA.addAssemblylineRecipe(
ItemUtils.getOrePrefixStack(OrePrefixes.pipeMedium, Materials.Superconductor, 1),
@@ -250,17 +251,17 @@ public class RECIPES_GREGTECH {
CI.getTieredFluid(4, 144 * 9 * (GTNH ? 16 : 8)),
CI.getTertiaryTieredFluid(4, 144 * 9 * (GTNH ? 16 : 8)),
CI.getAlternativeTieredFluid(4, 144 * 9 * (GTNH ? 16 : 8)),
-
+
},
GregtechItemList.Plasma_Tank.get(1),
20 * 60 * 1 * (GTNH ? 2 : 1),
(int) GT_Values.V[5]);
-
-
+
+
/*
* Contianment casings
*/
-
+
ItemStack[] aGemCasings = new ItemStack[] {
GregtechItemList.Battery_Casing_Gem_1.get(1),
GregtechItemList.Battery_Casing_Gem_2.get(1),
@@ -273,7 +274,7 @@ public class RECIPES_GREGTECH {
GregtechItemList.Battery_Casing_Gem_2.get(1),
GregtechItemList.Battery_Casing_Gem_3.get(1),
};
-
+
int aCasingSlot = 0;
for (int j = 6; j < 10; j++) {
CORE.RA.addAssemblylineRecipe(
@@ -290,24 +291,24 @@ public class RECIPES_GREGTECH {
CI.getTieredFluid(j, 144 * 3 * (GTNH ? 16 : 8)),
CI.getTertiaryTieredFluid(j-2, 144 * 4 * (GTNH ? 16 : 8)),
CI.getAlternativeTieredFluid(j, 144 * 6 * (GTNH ? 16 : 8)),
-
+
},
aGemCasings[aCasingSlot++],
20 * 60 * 1 * (GTNH ? 2 : 1),
(int) GT_Values.V[j]);
}
-
+
/*
* Gem Battery Recipes
*/
-
+
ItemStack[] aGemBatteries = new ItemStack[] {
GregtechItemList.Battery_Gem_1.get(1),
GregtechItemList.Battery_Gem_2.get(1),
GregtechItemList.Battery_Gem_3.get(1),
GregtechItemList.Battery_Gem_4.get(1),
};
-
+
ItemStack[] aExoticInputs = new ItemStack[] {
Particle.getBaseParticle(Particle.PROTON),
Particle.getBaseParticle(Particle.ELECTRON),
@@ -338,8 +339,8 @@ public class RECIPES_GREGTECH {
20 * 60 * 1 * (GTNH ? 2 : 1),
(int) GT_Values.V[j]);
}
-
-
+
+
//Nano Healer
CORE.RA.addAssemblylineRecipe(
ItemUtils.simpleMetaStack(Items.golden_apple, 1, 1),
@@ -360,14 +361,14 @@ public class RECIPES_GREGTECH {
CI.getTertiaryTieredFluid(7, 144 * 18 * (GTNH ? 16 : 8)),
CI.getAlternativeTieredFluid(6, 144 * 18 * (GTNH ? 16 : 8)),
CI.getAlternativeTieredFluid(7, 144 * 18 * (GTNH ? 16 : 8)),
-
+
},
ItemUtils.getItemStackFromFQRN("miscutils:personalHealingDevice", 1),
20 * 60 * 30 * (GTNH ? 2 : 1),
(int) GT_Values.V[7]);
-
-
-
+
+
+
//Charge Pack LuV-UV
ItemStack[] aChargeResearch = new ItemStack[] {
@@ -376,7 +377,7 @@ public class RECIPES_GREGTECH {
ItemUtils.getSimpleStack(ModItems.itemChargePack2, 1),
ItemUtils.getSimpleStack(ModItems.itemChargePack3, 1),
};
-
+
ItemStack[] aChargeOutputs = new ItemStack[] {
ItemUtils.getSimpleStack(ModItems.itemChargePack1, 1),
ItemUtils.getSimpleStack(ModItems.itemChargePack2, 1),
@@ -390,7 +391,7 @@ public class RECIPES_GREGTECH {
ItemUtils.getItemStackFromFQRN("miscutils:item.itemBufferCore9", GTNH ? 8 : 4),
ItemUtils.getItemStackFromFQRN("miscutils:item.itemBufferCore10", GTNH ? 8 : 4),
};
-
+
int aCurrSlot = 0;
for (int h = 6; h < 10; h++) {
CORE.RA.addAssemblylineRecipe(
@@ -398,7 +399,7 @@ public class RECIPES_GREGTECH {
20 * 60 * 10 * (aCurrSlot + 1),
new ItemStack[] {
ItemUtils.getSimpleStack(
- aGemBatteries[aCurrSlot], GTNH ? 4 : 2),
+ aGemBatteries[aCurrSlot], GTNH ? 4 : 2),
aBufferCoreInputs[aCurrSlot],
aCoilWire[aCurrSlot],
CI.getTieredComponent(OrePrefixes.plate, h, GTNH ? 16 : 8),
@@ -423,15 +424,15 @@ public class RECIPES_GREGTECH {
(int) GT_Values.V[h]);
aCurrSlot++;
}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
}
private static void laserEngraverRecipes() {
@@ -442,21 +443,21 @@ public class RECIPES_GREGTECH {
ELEMENT.STANDALONE.CELESTIAL_TUNGSTEN.getDust(1),
20 * 60 * 3,
MaterialUtils.getVoltageForTier(ELEMENT.STANDALONE.CELESTIAL_TUNGSTEN.vTier));
-
+
GT_Values.RA.addLaserEngraverRecipe(
GT_OreDictUnificator.get(OrePrefixes.dust, Materials.Titanium, 8L),
GregtechItemList.Laser_Lens_Special.get(0),
ELEMENT.STANDALONE.ASTRAL_TITANIUM.getDust(1),
20 * 60 * 2,
MaterialUtils.getVoltageForTier(ELEMENT.STANDALONE.ASTRAL_TITANIUM.vTier));
-
+
GT_Values.RA.addLaserEngraverRecipe(
ALLOY.NITINOL_60.getBlock(2),
GregtechItemList.Laser_Lens_Special.get(0),
ELEMENT.STANDALONE.ADVANCED_NITINOL.getBlock(1),
20 * 60 * 1,
MaterialUtils.getVoltageForTier(ELEMENT.STANDALONE.ADVANCED_NITINOL.vTier));
-
+
GT_Values.RA.addLaserEngraverRecipe(
GT_OreDictUnificator.get(OrePrefixes.dust, Materials.Glass, 64L),
GregtechItemList.Laser_Lens_Special.get(0),
@@ -464,15 +465,15 @@ public class RECIPES_GREGTECH {
20 * 60 * 5,
MaterialUtils.getVoltageForTier(ELEMENT.STANDALONE.CHRONOMATIC_GLASS.vTier));
-
+
GT_Values.RA.addLaserEngraverRecipe(
CI.getFieldGenerator(6, 1),
CI.getEmitter(7, 2),
ItemDummyResearch.getResearchStack(ASSEMBLY_LINE_RESEARCH.RESEARCH_1_CONTAINMENT, 1),
20 * 60 * 5,
MaterialUtils.getVoltageForTier(5));
-
-
+
+
}
private static void breweryRecipes() {
@@ -537,7 +538,7 @@ public class RECIPES_GREGTECH {
FluidUtils.getFluidStack("molten.trinium", 136 * 144), 0, 20 * 3000,
2040*4);
}
-
+
//Eglin Steel
CORE.RA.addBlastSmelterRecipe(
new ItemStack[] {
@@ -553,7 +554,7 @@ public class RECIPES_GREGTECH {
0,
20 * 45,
120);
-
+
//HG1223
CORE.RA.addBlastSmelterRecipe(
new ItemStack[] {
@@ -571,9 +572,9 @@ public class RECIPES_GREGTECH {
100, //Output Chance
20 * 120,
122880);
-
-
-
+
+
+
// Germanium Roasting
CORE.RA.addBlastSmelterRecipe(
@@ -622,7 +623,7 @@ public class RECIPES_GREGTECH {
0,
20 * 300,
2000);
-
+
// Ruthenium Roasting
CORE.RA.addBlastSmelterRecipe(
@@ -669,7 +670,7 @@ public class RECIPES_GREGTECH {
0,
20 * 300,
8000);
-
+
// Rhenium Roasting
CORE.RA.addBlastSmelterRecipe(
new ItemStack[] {
@@ -704,7 +705,7 @@ public class RECIPES_GREGTECH {
0,
20 * 300,
4000);
-
+
//Thallium Roasting
CORE.RA.addBlastSmelterRecipe(
new ItemStack[] {
@@ -719,8 +720,27 @@ public class RECIPES_GREGTECH {
20 * 300,
8000);
-
-
+
+
+ //Strontium processing
+ CORE.RA.addBlastSmelterRecipe(
+ new ItemStack[] {
+ ItemUtils.getGregtechCircuit(21),
+ MISC_MATERIALS.STRONTIUM_OXIDE.getDust(8),
+ ELEMENT.getInstance().ALUMINIUM.getDust(8),
+ },
+ null,
+ ELEMENT.getInstance().OXYGEN.getFluid(8000),
+ new ItemStack[] {
+ ELEMENT.getInstance().ALUMINIUM.getIngot(8),
+ ELEMENT.getInstance().STRONTIUM.getIngot(8)
+ },
+ 100, //Output Chance
+ 20 * 120,
+ 480*4);
+
+
+
}
@@ -733,7 +753,7 @@ public class RECIPES_GREGTECH {
ItemUtils.getSimpleStack(Items.glass_bottle), null, FluidUtils.getFluidStack("sulfuricacid", 250));
-
+
// Hydrofluoric Acid
boolean addedGtExtraction = false;
// Try use Internal GT Fluid first
@@ -751,10 +771,10 @@ public class RECIPES_GREGTECH {
FluidUtils.getFluidStack("hydrofluoricacid", 125), null);
//Add an empty recipe, but only if we didn't for the standard GT HF. Prevents Fluid transformation exploits.
if (!addedGtExtraction)
- GT_Values.RA.addFluidCannerRecipe(ItemUtils.getSimpleStack(ModItems.itemHydrofluoricPotion),
- ItemUtils.getSimpleStack(Items.glass_bottle), null, FluidUtils.getFluidStack("hydrofluoricacid", 125));
+ GT_Values.RA.addFluidCannerRecipe(ItemUtils.getSimpleStack(ModItems.itemHydrofluoricPotion),
+ ItemUtils.getSimpleStack(Items.glass_bottle), null, FluidUtils.getFluidStack("hydrofluoricacid", 125));
+
-
}
private static void cokeOvenRecipes() {
@@ -893,18 +913,18 @@ public class RECIPES_GREGTECH {
ItemStack cropGrape = ItemUtils.getItemStackOfAmountFromOreDictNoBroken("cropGrape", 1);
ItemStack foodRaisins = ItemUtils.getItemStackOfAmountFromOreDictNoBroken("foodRaisins", 1);
-
+
if (cropGrape != null && foodRaisins != null)
- CORE.RA.addDehydratorRecipe(new ItemStack[] {
- cropGrape
- }, // Item
- null, // Fluid input (slot 1)
- null, // Fluid output (slot 2)
- new ItemStack[] {
- foodRaisins
- }, // Output
- new int[] { 0 }, 10, // Time in ticks
- 2); // EU
+ CORE.RA.addDehydratorRecipe(new ItemStack[] {
+ cropGrape
+ }, // Item
+ null, // Fluid input (slot 1)
+ null, // Fluid output (slot 2)
+ new ItemStack[] {
+ foodRaisins
+ }, // Output
+ new int[] { 0 }, 10, // Time in ticks
+ 2); // EU
}
catch (final NullPointerException e) {
@@ -914,7 +934,7 @@ public class RECIPES_GREGTECH {
// Calcium Hydroxide
if ((ItemUtils.checkForInvalidItems(ItemUtils.getItemStackOfAmountFromOreDict("dustQuicklime", 1))) || LoadedMods.IHL) {
try {
-
+
CORE.RA.addDehydratorRecipe(
new ItemStack[] { ItemUtils.getItemStackOfAmountFromOreDict("dustQuicklime", 10) }, // Item
FluidUtils.getFluidStack("water", 10000), // Fluid input
@@ -1010,7 +1030,7 @@ public class RECIPES_GREGTECH {
null,
new ItemStack[] { ItemUtils.getItemStackOfAmountFromOreDict("cellHydrogenChloride", 9),
FLUORIDES.ZIRCONIUM_TETRAFLUORIDE.getDust(9)
- },
+ },
new int[] { 0 }, 120 * 20, // Time in ticks
500); // EU
@@ -1112,7 +1132,7 @@ public class RECIPES_GREGTECH {
ItemUtils.getItemStackOfAmountFromOreDict("cellHydrogen", 2) }, // Output
3 * 20, // Time in ticks
30); // EU
-
+
/*
* Try Add custom Recipe for drying leather
*/
@@ -1297,41 +1317,41 @@ public class RECIPES_GREGTECH {
ItemUtils.getSimpleStack(ModItems.itemDetCable, 24),
30,
120);
-
+
/*addAR(ItemUtils.getItemStackOfAmountFromOreDict("plateIncoloy020", 16),
ItemUtils.getItemStackOfAmountFromOreDict("frameGtIncoloyMA956", 4), null,
GregtechItemList.Casing_Power_SubStation.get(4), 80, 120);*/
-
-
-
-
+
+
+
+
CORE.RA.addSixSlotAssemblingRecipe(new ItemStack[] {
- GregtechItemList.Casing_Multi_Use.get(1),
- ItemUtils.getItemStackOfAmountFromOreDict(CI.getTieredCircuitOreDictName(6), 1),
- ItemUtils.getItemStackOfAmountFromOreDict(CI.getTieredCircuitOreDictName(4), 8),
- CI.sensor_HV,
- CI.emitter_HV,
- CI.fieldGenerator_HV,
- },
+ GregtechItemList.Casing_Multi_Use.get(1),
+ ItemUtils.getItemStackOfAmountFromOreDict(CI.getTieredCircuitOreDictName(6), 1),
+ ItemUtils.getItemStackOfAmountFromOreDict(CI.getTieredCircuitOreDictName(4), 8),
+ CI.sensor_HV,
+ CI.emitter_HV,
+ CI.fieldGenerator_HV,
+ },
null,
ItemUtils.getSimpleStack(Dimension_Everglades.blockPortalFrame),
20*20,
2048);
-
-
-
-
-
+
+
+
+
+
CORE.RA.addSixSlotAssemblingRecipe(new ItemStack[] {ItemUtils.getSimpleStack(ModItems.itemRope, 6)}, null, ItemUtils.getSimpleStack(ModBlocks.blockNet, 2), 1*20, 8);
CORE.RA.addSixSlotAssemblingRecipe(new ItemStack[] {ItemUtils.getSimpleStack(CI.explosiveITNT, 2), ItemUtils.getSimpleStack(CI.explosiveTNT, 4), ELEMENT.getInstance().SULFUR.getDust(2), ELEMENT.getInstance().IRON.getFrameBox(1)}, null, ItemUtils.getSimpleStack(ModBlocks.blockMiningExplosive, 3), 5*20, 60);
CORE.RA.addSixSlotAssemblingRecipe(new ItemStack[] {ItemUtils.getSimpleStack(Items.nether_star), ItemUtils.getItemStackOfAmountFromOreDict("plateTungstenSteel", 8), ItemUtils.getItemStackOfAmountFromOreDict("stickBlackSteel", 8)}, null, ItemUtils.getSimpleStack(ModBlocks.blockWitherGuard, 32), 30*20, 500);
-
-
+
+
CORE.RA.addSixSlotAssemblingRecipe(new ItemStack[] {
CI.electricPump_LV,
@@ -1357,7 +1377,7 @@ public class RECIPES_GREGTECH {
ItemUtils.getItemStackOfAmountFromOreDict("stickChrome", 1),
ItemUtils.getItemStackOfAmountFromOreDict("plateStainlessSteel", 2)
}, null, ItemUtils.simpleMetaStack(ModItems.itemGenericToken, 3, 1), 10*20*3, 480);
-
+
CORE.RA.addSixSlotAssemblingRecipe(new ItemStack[] {
CI.electricPump_EV,
CI.electricMotor_EV,
@@ -1467,14 +1487,14 @@ public class RECIPES_GREGTECH {
NUCLIDE.LiFBeF2ZrF4UF4.getFluid(144), 10000, 150, 2000);
GT_Values.RA.addFluidExtractionRecipe(NUCLIDE.LiFBeF2ThF4UF4.getDust(1), null,
NUCLIDE.LiFBeF2ThF4UF4.getFluid(144), 10000, 200, 1500);
-
+
//ZIRCONIUM_TETRAFLUORIDE
GT_Values.RA.addFluidExtractionRecipe(FLUORIDES.ZIRCONIUM_TETRAFLUORIDE.getDust(1), null,
FluidUtils.getFluidStack(ModItems.fluidZrF4, 144), 10000, 200, 512+256);
-
-
-
-/* GT_Values.RA.addFluidExtractionRecipe(ItemUtils.getItemStackOfAmountFromOreDict("dustLiBeF2ZrF4U235", 1), null,
+
+
+
+ /* GT_Values.RA.addFluidExtractionRecipe(ItemUtils.getItemStackOfAmountFromOreDict("dustLiBeF2ZrF4U235", 1), null,
FluidUtils.getFluidStack("molten.libef2zrf4u235", 144), 10000, 250, 1000);
//LFTR Fuel 2
GT_Values.RA.addFluidExtractionRecipe(ItemUtils.getItemStackOfAmountFromOreDict("dustLiBeF2ZrF4UF4", 1), null,
@@ -1516,10 +1536,10 @@ public class RECIPES_GREGTECH {
ItemUtils.getItemStackOfAmountFromOreDict("dustSmallThorium", 20),
ELEMENT.getInstance().URANIUM232.getDust(1), GT_Values.NI, GT_Values.NI, GT_Values.NI,
new int[] { 0, 0, 10 }, 500 * 20, 2000);
-
+
//Process Used Fuel Rods for Krypton
-
+
//Uranium
GT_Values.RA.addCentrifugeRecipe(
CI.getNumberedCircuit(20),
@@ -1546,7 +1566,7 @@ public class RECIPES_GREGTECH {
ELEMENT.getInstance().PLUTONIUM238.getTinyDust(1),
ELEMENT.getInstance().PLUTONIUM239.getTinyDust(1),
new int[] { 0, 0, 500, 500, 500, 500 }, 750 * 20, 4000);
-
+
//Thorium
GT_Values.RA.addCentrifugeRecipe(
CI.getNumberedCircuit(20),
@@ -1560,8 +1580,8 @@ public class RECIPES_GREGTECH {
ELEMENT.getInstance().POLONIUM.getSmallDust(1),
ELEMENT.getInstance().THALLIUM.getTinyDust(1),
new int[] { 0, 0, 5000, 5000, 5000, 2500 }, 250 * 20, 4000);
-
-
+
+
}
@@ -1615,7 +1635,7 @@ public class RECIPES_GREGTECH {
ItemUtils.getItemStackOfAmountFromOreDict("dustLithium7", 16), FluidUtils.getFluidStack("water", 1000),
FluidUtils.getFluidStack("lithiumhydroxide", 144 * 4),
CI.emptyCells(1), 300 * 20);
-
+
//Bombs
GT_Values.RA.addChemicalRecipe(
ItemUtils.getSimpleStack(ModItems.itemBombCasing, 4),
@@ -1624,7 +1644,7 @@ public class RECIPES_GREGTECH {
null,
ItemUtils.getSimpleStack(ModItems.itemBombUnf, 4),
300 * 20);
-
+
GT_Values.RA.addChemicalRecipe(
ItemUtils.getSimpleStack(ModItems.itemBombUnf, 4),
ItemUtils.getSimpleStack(ModItems.itemDetCable, 4),
@@ -1632,7 +1652,7 @@ public class RECIPES_GREGTECH {
null,
ItemUtils.getSimpleStack(ModItems.itemBomb, 4),
10 * 20);
-
+
// LFTR Fuel Related Compounds
if (GTNH) {
@@ -1697,32 +1717,32 @@ public class RECIPES_GREGTECH {
CI.emptyCells(7),
2 * 20);
}
-
-
+
+
//Technetium
GT_Values.RA.addChemicalRecipe(ItemUtils.getItemStackOfAmountFromOreDict("dustTechnetium99", 1), null,
FluidUtils.getFluidStack("sulfuricacid", 1000), FluidUtils.getFluidStack("sulfuricacid", 144 * 2),
ItemUtils.getItemStackOfAmountFromOreDict("dustTechnetium", 1), 100 * 20);
-
+
}
private static void blastFurnaceRecipes() {
- //public boolean addBlastRecipe(
+ //public boolean addBlastRecipe(
//ItemStack aInput1, ItemStack aInput2,
//FluidStack aFluidInput, FluidStack aFluidOutput,
//ItemStack aOutput1, ItemStack aOutput2,
//int aDuration, int aEUt, int aLevel)
-
+
GT_Values.RA.addBlastRecipe(ItemUtils.getItemStackOfAmountFromOreDict("dustLithiumFluoride", 2),
ItemUtils.getItemStackOfAmountFromOreDict("dustBerylliumFluoride", 1), GT_Values.NF, GT_Values.NF,
ItemUtils.getItemStackOfAmountFromOreDict("dustLi2BeF4", 3), null, 60 * 20, 2000, 3000);
GT_Values.RA.addBlastRecipe(ItemUtils.getItemStackOfAmountFromOreDict("dustZrCl4", 1), null, GT_Values.NF,
GT_Values.NF, ItemUtils.getItemStackOfAmountFromOreDict("dustCookedZrCl4", 1), null, 60 * 20, 340, 300);
-
-
+
+
//Synthetic Graphite
GT_Values.RA.addBlastRecipe(
CI.getNumberedCircuit(22),
@@ -1734,7 +1754,7 @@ public class RECIPES_GREGTECH {
60 * 20,
MaterialUtils.getVoltageForTier(GTNH ? 5 : 4),
4500);
-
+
//Bomb Casings
GT_Values.RA.addBlastRecipe(
GregtechItemList.Bomb_Cast.get(4),
@@ -1746,7 +1766,7 @@ public class RECIPES_GREGTECH {
4 * 60 * 20,
MaterialUtils.getVoltageForTier(GTNH ? 3 : 2),
2800);
-
+
//Krypton Processing
if (ModItems.itemHotTitaniumIngot != null) {
GT_Values.RA.addBlastRecipe(
@@ -1760,8 +1780,8 @@ public class RECIPES_GREGTECH {
500,
Materials.Titanium.mBlastFurnaceTemp);
}
-
-
+
+
}
private static void autoclaveRecipes() {
@@ -1785,7 +1805,7 @@ public class RECIPES_GREGTECH {
ItemUtils.getItemStackOfAmountFromOreDict("plateMeatRaw", 1));
GT_ModHandler.addCompressionRecipe(ItemUtils.getItemStackOfAmountFromOreDict("dustMeatRaw", 9),
ItemUtils.getItemStackOfAmountFromOreDict("blockMeatRaw", 1));
-
+
CORE.RA.addCompressorRecipe(ItemList.FusionComputer_UV.get(9), GregtechItemList.Compressed_Fusion_Reactor.get(1), (int) GT_Values.V[7], (int) GT_Values.V[8]);
}
@@ -1861,13 +1881,13 @@ public class RECIPES_GREGTECH {
CORE.RA.addCyclotronRecipe(new ItemStack[] {ELEMENT.getInstance().URANIUM238.getDust(1) }, FluidUtils.getFluidStack("deuterium", 400),
new ItemStack[] {ItemUtils.getSimpleStack(ModItems.dustNeptunium238)}, null, new int[] { 500 }, 20 * 5, 500 * 4,
500 * 20); //PO Special Value
-
-
+
+
/**
* Particle Science
*/
-
+
// Quark Smash
CORE.RA.addCyclotronRecipe(
CI.getNumberedCircuit(3),
@@ -1879,7 +1899,7 @@ public class RECIPES_GREGTECH {
Particle.getBaseParticle(Particle.STRANGE),
Particle.getBaseParticle(Particle.TOP),
Particle.getBaseParticle(Particle.BOTTOM),
- },
+ },
null,
new int[] { 50, 50, 50, 50, 50, 50 },
20 * 300 * 9,
@@ -1897,7 +1917,7 @@ public class RECIPES_GREGTECH {
Particle.getBaseParticle(Particle.ELECTRON_NEUTRINO),
Particle.getBaseParticle(Particle.MUON_NEUTRINO),
Particle.getBaseParticle(Particle.TAU_NEUTRINO),
- },
+ },
null,
new int[] { 600, 40, 20, 15, 10, 5 },
20 * 300 * 8,
@@ -1914,14 +1934,14 @@ public class RECIPES_GREGTECH {
Particle.getBaseParticle(Particle.Z_BOSON),
Particle.getBaseParticle(Particle.W_BOSON),
Particle.getBaseParticle(Particle.HIGGS_BOSON),
- },
+ },
null,
new int[] { 160, 260, 150, 150, 1 },
20 * 300 * 6,
(int) GT_Values.V[7],
750 * 20);
-
-
+
+
// Mixed Smash 1
CORE.RA.addCyclotronRecipe(
CI.getNumberedCircuit(12),
@@ -1935,13 +1955,13 @@ public class RECIPES_GREGTECH {
Particle.getBaseParticle(Particle.LAMBDA),
Particle.getBaseParticle(Particle.OMEGA),
Particle.getBaseParticle(Particle.HIGGS_BOSON),
- },
+ },
null,
new int[] { 10, 20, 20, 10, 10, 5, 5, 2 },
17 * 247 * 32,
(int) GT_Values.V[8],
750 * 20);
-
+
// Graviton Smash
CORE.RA.addCyclotronRecipe(
CI.getNumberedCircuit(15),
@@ -1949,20 +1969,20 @@ public class RECIPES_GREGTECH {
new ItemStack[] {
Particle.getBaseParticle(Particle.GRAVITON),
Particle.getBaseParticle(Particle.UNKNOWN)
- },
+ },
null,
new int[] {15, 100},
20 * (GTNH ? 90 : 30),
(int) GT_Values.V[6],
1000 * 20);
-
+
FluidStack aPlasma = Materials.Duranium.getMolten(GTNH ? 40 : 10);
FluidStack aPlasma_NULL = Materials._NULL.getPlasma(1);
-
+
if (aPlasma == null || aPlasma.isFluidEqual(aPlasma_NULL)) {
aPlasma = Materials.Americium.getMolten(GTNH ? 20 : 5);
}
-
+
// Quantum Anomaly
CORE.RA.addCyclotronRecipe(
new ItemStack[] {
@@ -1972,17 +1992,17 @@ public class RECIPES_GREGTECH {
aPlasma,
new ItemStack[] {
GregtechItemList.Laser_Lens_Special.get(1)
- },
+ },
null,
new int[] {100},
20 * (GTNH ? 300 : 60),
(int) GT_Values.V[6],
1000 * 20);
-
+
/*
* Ions
*/
-
+
int IonCount = 2;
int tenCountA = (GTNH ? 2 : 1);
int tenCountB = 0;
@@ -1993,33 +2013,33 @@ public class RECIPES_GREGTECH {
FluidStack aPlasma2 = FluidUtils.getFluidStack("plasma."+y.toLowerCase(), 2);
Materials aTestMat = MaterialUtils.getMaterial(y);
FluidStack aPlasma3 = aTestMat != null ? aTestMat.getPlasma(2) : aPlasma2;
-
+
// Ionize Plasma
if ((aPlasma2 != null && !aPlasma2.isFluidEqual(aPlasma_NULL)) || (aPlasma3 != null && !aPlasma3.isFluidEqual(aPlasma_NULL))) {
- CORE.RA.addCyclotronRecipe(
- CI.getNumberedCircuit(1+(tenCountA-1)),
- aPlasma2 != null ? aPlasma2 : aPlasma3,
- new ItemStack[] {
- Particle.getIon(y, 1),
- Particle.getIon(y, 2),
- Particle.getIon(y, 3),
- Particle.getIon(y, -1),
- Particle.getIon(y, -2),
- Particle.getIon(y, -3),
- Particle.getIon(y, 1),
- Particle.getIon(y, 2),
- Particle.getIon(y, -1),
- },
- null,
- new int[] { 275, 250, 225, 275, 250, 225, 275, 250, 275},
- 20 * 20 * (IonCount++) * tenCountA,
- (int) GT_Values.V[7],
- 1500 * 20 * tenCountA);
+ CORE.RA.addCyclotronRecipe(
+ CI.getNumberedCircuit(1+(tenCountA-1)),
+ aPlasma2 != null ? aPlasma2 : aPlasma3,
+ new ItemStack[] {
+ Particle.getIon(y, 1),
+ Particle.getIon(y, 2),
+ Particle.getIon(y, 3),
+ Particle.getIon(y, -1),
+ Particle.getIon(y, -2),
+ Particle.getIon(y, -3),
+ Particle.getIon(y, 1),
+ Particle.getIon(y, 2),
+ Particle.getIon(y, -1),
+ },
+ null,
+ new int[] { 275, 250, 225, 275, 250, 225, 275, 250, 275},
+ 20 * 20 * (IonCount++) * tenCountA,
+ (int) GT_Values.V[7],
+ 1500 * 20 * tenCountA);
}
else {
Logger.INFO("Plasma for "+y+" does not exist, please report this to Alkalus.");
}
-
+
if (tenCountB == 12) {
tenCountB = 0;
tenCountA++;
@@ -2028,7 +2048,7 @@ public class RECIPES_GREGTECH {
tenCountB++;
}
}
-
+
// Generate Hydrogen Ion Recipe
CORE.RA.addCyclotronRecipe(
CI.getNumberedCircuit(24),
@@ -2043,19 +2063,19 @@ public class RECIPES_GREGTECH {
Particle.getIon("Hydrogen", -1),
Particle.getIon("Hydrogen", -2),
Particle.getIon("Hydrogen", -3)
- },
+ },
null,
new int[] { 125, 125, 125, 125, 125, 125, 125, 125, 125 },
20 * 20,
(int) GT_Values.V[6],
15000);
-
+
// Generate Hydrogen Plasma Recipe
CORE.RA.addCyclotronRecipe(
new ItemStack[] {
Particle.getIon("Hydrogen", 0),
ItemUtils.getItemStackOfAmountFromOreDict("cellHydrogen", 1)
- },
+ },
null,
new ItemStack[] {
Particle.getBaseParticle(Particle.PROTON),
@@ -2065,20 +2085,20 @@ public class RECIPES_GREGTECH {
Particle.getBaseParticle(Particle.UNKNOWN),
Particle.getBaseParticle(Particle.UNKNOWN),
CI.emptyCells(1)
- },
+ },
FluidUtils.getFluidStack("plasma.hydrogen", 1),
new int[] { 250, 250, 250, 500, 500, 500, 10000 },
20 * 60 * 2,
(int) GT_Values.V[7],
750 * 20);
-
+
// Generate Protons Easily
CORE.RA.addCyclotronRecipe(
new ItemStack[] {
CI.getNumberedCircuit(20),
Particle.getIon("Hydrogen", 0)
- },
+ },
FluidUtils.getWildcardFluidStack("hydrogen", 100),
new ItemStack[] {
Particle.getBaseParticle(Particle.PROTON),
@@ -2090,18 +2110,18 @@ public class RECIPES_GREGTECH {
Particle.getBaseParticle(Particle.PROTON),
Particle.getBaseParticle(Particle.PROTON),
Particle.getBaseParticle(Particle.PROTON),
- },
+ },
null,
new int[] { 750, 750, 750, 750, 750, 750, 750, 750, 750 },
20 * 20,
(int) GT_Values.V[6],
15000);
-
+
CORE.RA.addCyclotronRecipe(
new ItemStack[] {
CI.getNumberedCircuit(22),
Particle.getBaseParticle(Particle.UNKNOWN),
- },
+ },
FluidUtils.getWildcardFluidStack("hydrogen", 100),
new ItemStack[] {
Particle.getBaseParticle(Particle.PROTON),
@@ -2113,14 +2133,14 @@ public class RECIPES_GREGTECH {
Particle.getBaseParticle(Particle.PROTON),
Particle.getBaseParticle(Particle.PROTON),
Particle.getBaseParticle(Particle.PROTON),
- },
+ },
null,
new int[] { 375, 375, 375, 375, 375, 375, 375, 375, 375 },
20 * 20,
(int) GT_Values.V[6],
15000);
-
-
+
+
//Create Strange Dust
CORE.RA.addCyclotronRecipe(
new ItemStack[] {
@@ -2133,20 +2153,20 @@ public class RECIPES_GREGTECH {
Particle.getBaseParticle(Particle.UNKNOWN),
Particle.getBaseParticle(Particle.UNKNOWN),
Particle.getBaseParticle(Particle.UNKNOWN),
- },
+ },
FluidUtils.getFluidStack(FluidUtils.getWildcardFluidStack("ender", 1000), 1000),
new ItemStack[] {
ORES.DEEP_EARTH_REACTOR_FUEL_DEPOSIT.getDust(1)
- },
+ },
null,
new int[] { 2500 },
20 * 60 * 15,
(int) GT_Values.V[7],
15000);
-
-
-
-
+
+
+
+
}
@@ -2161,12 +2181,15 @@ public class RECIPES_GREGTECH {
ELEMENT.getInstance().CERIUM.getSmallDust(1),
ELEMENT.getInstance().CADMIUM.getSmallDust(1),
ELEMENT.getInstance().CAESIUM.getSmallDust(1),
- ELEMENT.getInstance().YTTERBIUM.getTinyDust(1),
- ELEMENT.getInstance().SAMARIUM.getTinyDust(1),
- ELEMENT.getInstance().GADOLINIUM.getTinyDust(1)
- },
- new int[] { 2000, 2000, 2000, 2000, 2000, 2000, 1000, 1000, 1000 }, 20 * 30, 500);
-
+ ORES.SAMARSKITE_YB.getSmallDust(1),
+ ORES.FLORENCITE.getSmallDust(1),
+ ORES.FLUORCAPHITE.getSmallDust(1),
+ //ELEMENT.getInstance().YTTERBIUM.getTinyDust(1),
+ //ELEMENT.getInstance().SAMARIUM.getTinyDust(1),
+ //ELEMENT.getInstance().GADOLINIUM.getTinyDust(1)
+ },
+ new int[] { 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000 }, 20 * 30, 500);
+
// Zirconium
GT_Values.RA.addSifterRecipe(ItemUtils.getItemStackOfAmountFromOreDict("crushedPurifiedIlmenite", 1),
new ItemStack[] { ItemUtils.getItemStackOfAmountFromOreDict("dustIron", 1),
@@ -2176,7 +2199,7 @@ public class RECIPES_GREGTECH {
ItemUtils.getItemStackOfAmountFromOreDict("dustHafnium", 1),
ItemUtils.getItemStackOfAmountFromOreDict("dustHafnium", 1) },
new int[] { 5000, 2500, 1000, 1000, 300, 300 }, 20 * 30, 500);
-
+
// Zirconium
GT_Values.RA.addSifterRecipe(ItemUtils.getItemStackOfAmountFromOreDict("crushedPurifiedTin", 1),
new ItemStack[] { ItemUtils.getItemStackOfAmountFromOreDict("dustTin", 1),
@@ -2247,38 +2270,38 @@ public class RECIPES_GREGTECH {
ItemUtils.getItemStackOfAmountFromOreDict("dustSmallZircon", 1),
ItemUtils.getItemStackOfAmountFromOreDict("dustTinyZircon", 1), new int[] { 10000, 1250, 2500 },
20 * 20, 24);
-
-
+
+
if (!GTNH) {
- // Trinium
- GT_Values.RA.addElectromagneticSeparatorRecipe(
- ItemUtils.getItemStackOfAmountFromOreDict("crushedPurifiedNaquadah", 1),
- ItemUtils.getItemStackOfAmountFromOreDict("dustNaquadah", 1),
- ItemUtils.getItemStackOfAmountFromOreDict("dustSmallNaquadahEnriched", 1),
- ItemUtils.getItemStackOfAmountFromOreDict("dustSmallTrinium", 1), new int[] { 10000, 2500, 5000 },
- 20 * 20, 24);
+ // Trinium
+ GT_Values.RA.addElectromagneticSeparatorRecipe(
+ ItemUtils.getItemStackOfAmountFromOreDict("crushedPurifiedNaquadah", 1),
+ ItemUtils.getItemStackOfAmountFromOreDict("dustNaquadah", 1),
+ ItemUtils.getItemStackOfAmountFromOreDict("dustSmallNaquadahEnriched", 1),
+ ItemUtils.getItemStackOfAmountFromOreDict("dustSmallTrinium", 1), new int[] { 10000, 2500, 5000 },
+ 20 * 20, 24);
- // Trinium
- GT_Values.RA.addElectromagneticSeparatorRecipe(
- ItemUtils.getItemStackOfAmountFromOreDict("crushedPurifiedIridium", 1),
- ItemUtils.getItemStackOfAmountFromOreDict("dustIridium", 1),
- ItemUtils.getItemStackOfAmountFromOreDict("dustSmallOsmium", 1),
- ItemUtils.getItemStackOfAmountFromOreDict("dustSmallTrinium", 1), new int[] { 10000, 2500, 5000 },
- 20 * 20, 24);
+ // Trinium
+ GT_Values.RA.addElectromagneticSeparatorRecipe(
+ ItemUtils.getItemStackOfAmountFromOreDict("crushedPurifiedIridium", 1),
+ ItemUtils.getItemStackOfAmountFromOreDict("dustIridium", 1),
+ ItemUtils.getItemStackOfAmountFromOreDict("dustSmallOsmium", 1),
+ ItemUtils.getItemStackOfAmountFromOreDict("dustSmallTrinium", 1), new int[] { 10000, 2500, 5000 },
+ 20 * 20, 24);
- // Trinium
- GT_Values.RA.addElectromagneticSeparatorRecipe(
- ItemUtils.getItemStackOfAmountFromOreDict("crushedPurifiedWulfenite", 1),
- ItemUtils.getItemStackOfAmountFromOreDict("dustWulfenite", 1),
- ItemUtils.getItemStackOfAmountFromOreDict("dustSmallTrinium", 1),
- ItemUtils.getItemStackOfAmountFromOreDict("dustSmallTrinium", 1), new int[] { 10000, 3000, 3000 },
- 20 * 20, 24);
+ // Trinium
+ GT_Values.RA.addElectromagneticSeparatorRecipe(
+ ItemUtils.getItemStackOfAmountFromOreDict("crushedPurifiedWulfenite", 1),
+ ItemUtils.getItemStackOfAmountFromOreDict("dustWulfenite", 1),
+ ItemUtils.getItemStackOfAmountFromOreDict("dustSmallTrinium", 1),
+ ItemUtils.getItemStackOfAmountFromOreDict("dustSmallTrinium", 1), new int[] { 10000, 3000, 3000 },
+ 20 * 20, 24);
}
-
-
-
-
+
+
+
+
}
private static void advancedMixerRecipes() {
diff --git a/src/Java/gtPlusPlus/core/util/minecraft/EnergyUtils.java b/src/Java/gtPlusPlus/core/util/minecraft/EnergyUtils.java
index ef68436f21..7daefbcc23 100644
--- a/src/Java/gtPlusPlus/core/util/minecraft/EnergyUtils.java
+++ b/src/Java/gtPlusPlus/core/util/minecraft/EnergyUtils.java
@@ -1,9 +1,7 @@
package gtPlusPlus.core.util.minecraft;
-import gregtech.api.enums.GT_Values;
import gregtech.api.util.GT_ModHandler;
import gtPlusPlus.api.objects.Logger;
-import ic2.api.item.ElectricItem;
import ic2.api.item.IElectricItem;
import ic2.api.item.IElectricItemManager;
import ic2.api.item.ISpecialElectricItem;
@@ -40,7 +38,7 @@ public class EnergyUtils {
if (isElectricItem(aStack)) {
int tTier = ((IElectricItem) aStack.getItem()).getTier(aStack);
int aDischargeValue = GT_ModHandler.dischargeElectricItem(aStack, aEnergyToDrain, tTier, true, false, false);
- Logger.INFO("Trying to drain "+aDischargeValue);
+ //Logger.INFO("Trying to drain "+aDischargeValue);
return aDischargeValue > 0;
}
else {
diff --git a/src/Java/gtPlusPlus/core/util/minecraft/MaterialUtils.java b/src/Java/gtPlusPlus/core/util/minecraft/MaterialUtils.java
index 743e4bedf1..c12212455b 100644
--- a/src/Java/gtPlusPlus/core/util/minecraft/MaterialUtils.java
+++ b/src/Java/gtPlusPlus/core/util/minecraft/MaterialUtils.java
@@ -23,6 +23,7 @@ import gtPlusPlus.core.util.Utils;
import gtPlusPlus.core.util.data.EnumUtils;
import gtPlusPlus.core.util.data.StringUtils;
import gtPlusPlus.core.util.reflect.ReflectionUtils;
+import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
@@ -440,5 +441,15 @@ public class MaterialUtils {
return resultList;
}
+ public static void generateSpecialDustAndAssignToAMaterial(Material aMaterial) {
+ Item[] aDusts = ItemUtils.generateSpecialUseDusts(aMaterial, false);
+ if (aDusts != null && aDusts.length > 0) {
+ aMaterial.registerComponentForMaterial(OrePrefixes.dust, ItemUtils.getSimpleStack(aDusts[0]));
+ aMaterial.registerComponentForMaterial(OrePrefixes.dustSmall, ItemUtils.getSimpleStack(aDusts[1]));
+ aMaterial.registerComponentForMaterial(OrePrefixes.dustTiny, ItemUtils.getSimpleStack(aDusts[2]));
+ }
+
+ }
+
} \ No newline at end of file
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GT_MetaTileEntity_SemiFluidGenerator.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GT_MetaTileEntity_SemiFluidGenerator.java
index ef3e06086e..9f50cf6d91 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GT_MetaTileEntity_SemiFluidGenerator.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GT_MetaTileEntity_SemiFluidGenerator.java
@@ -1,9 +1,6 @@
package gtPlusPlus.xmod.gregtech.common.tileentities.generators;
import cpw.mods.fml.common.registry.GameRegistry;
-
-import net.minecraft.item.ItemStack;
-
import gregtech.api.GregTech_API;
import gregtech.api.enums.ConfigCategories;
import gregtech.api.enums.ItemList;
@@ -11,7 +8,6 @@ import gregtech.api.enums.Textures;
import gregtech.api.interfaces.ITexture;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import gregtech.api.metatileentity.MetaTileEntity;
-import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_BasicGenerator;
import gregtech.api.objects.GT_ItemStack;
import gregtech.api.objects.GT_RenderedTexture;
import gregtech.api.util.GT_ModHandler;
@@ -19,8 +15,8 @@ import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
import gregtech.api.util.Recipe_GT.Gregtech_Recipe_Map;
import gtPlusPlus.api.objects.Logger;
-import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.xmod.gregtech.api.metatileentity.custom.power.GTPP_MTE_BasicLosslessGenerator;
+import net.minecraft.item.ItemStack;
public class GT_MetaTileEntity_SemiFluidGenerator extends GTPP_MTE_BasicLosslessGenerator{
@@ -65,7 +61,7 @@ public class GT_MetaTileEntity_SemiFluidGenerator extends GTPP_MTE_BasicLossless
@Override
public GT_Recipe.GT_Recipe_Map getRecipes() {
- //Logger.INFO("Fuel Count: "+Gregtech_Recipe_Map.sSemiFluidLiquidFuels.mRecipeList.size());
+ //Logger.WARNING("Fuel Count: "+Gregtech_Recipe_Map.sSemiFluidLiquidFuels.mRecipeList.size());
return Gregtech_Recipe_Map.sSemiFluidLiquidFuels;
}
@@ -95,14 +91,14 @@ public class GT_MetaTileEntity_SemiFluidGenerator extends GTPP_MTE_BasicLossless
@Override
public int getFuelValue(ItemStack aStack) {
if ((GT_Utility.isStackInvalid(aStack)) || (getRecipes() == null)) {
- Logger.INFO("Bad Fuel?");
+ Logger.WARNING("Bad Fuel?");
return 0;
}
int rValue = Math.max(GT_ModHandler.getFuelCanValue(aStack) * 6 / 5, super.getFuelValue(aStack));
if (ItemList.Fuel_Can_Plastic_Filled.isStackEqual(aStack, false, true)) {
rValue = Math.max(rValue, GameRegistry.getFuelValue(aStack) * 3);
}
- Logger.INFO("Good Fuel: "+rValue);
+ Logger.WARNING("Good Fuel: "+rValue);
return rValue;
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GregtechMetaTileEntity_RTG.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GregtechMetaTileEntity_RTG.java
index f3fd95f0c1..6f18b89c53 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GregtechMetaTileEntity_RTG.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/generators/GregtechMetaTileEntity_RTG.java
@@ -338,22 +338,22 @@ public class GregtechMetaTileEntity_RTG extends GT_MetaTileEntity_BasicGenerator
this.mNewTier = mTier2;
//ReflectionUtils.setFinalStatic(mTier2, GT_Values.V[0]);
} catch (Exception e) {
- Logger.INFO("Failed setting mTier.");
+ Logger.WARNING("Failed setting mTier.");
e.printStackTrace();
}
this.mTicksToBurnFor = getTotalEUGenerated(convertDaysToTicks(tFuel.mSpecialValue), voltage);
if (mTicksToBurnFor >= Integer.MAX_VALUE){
mTicksToBurnFor = Integer.MAX_VALUE;
- Logger.INFO("Fuel went over Int limit, setting to MAX_VALUE.");
+ Logger.WARNING("Fuel went over Int limit, setting to MAX_VALUE.");
}
this.mDaysRemaining = MathUtils.roundToClosestInt(mTicksToBurnFor/20/60/3);
- Logger.INFO("step | "+(int) (mTicksToBurnFor * getEfficiency() / 100L));
+ Logger.WARNING("step | "+(int) (mTicksToBurnFor * getEfficiency() / 100L));
return (int) (mTicksToBurnFor * getEfficiency() / 100L);
//return (int) (tFuel.mSpecialValue * 365L * getEfficiency() / 100L);
//return tFuel.mEUt;
}
- Logger.INFO("Not sure");
+ Logger.WARNING("Not sure");
return 0;
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaPollutionCreator.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaPollutionCreator.java
index c7f63e3bc2..4e5c296629 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaPollutionCreator.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaPollutionCreator.java
@@ -379,7 +379,7 @@ public class GregtechMetaPollutionCreator extends GregtechMetaTileEntity {
else {
returnValue = getCurrentChunkPollution();
}
- Logger.INFO("| DEBUG: "+returnValue +" | ArrayPos:"+this.mArrayPos+" | Counter:"+counter+" | Total:"+total+" |");
+ //Logger.INFO("| DEBUG: "+returnValue +" | ArrayPos:"+this.mArrayPos+" | Counter:"+counter+" | Total:"+total+" |");
return returnValue;
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaTileEntity_CompactFusionReactor.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaTileEntity_CompactFusionReactor.java
index b4e819a459..477848a90f 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaTileEntity_CompactFusionReactor.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaTileEntity_CompactFusionReactor.java
@@ -131,15 +131,15 @@ public class GregtechMetaTileEntity_CompactFusionReactor extends GT_MetaTileEnti
@Override
public int checkRecipe() {
- Logger.INFO("Recipe Tick 1.");
+ Logger.MACHINE_INFO("Recipe Tick 1.");
if (!this.mCanProcessRecipe) {
- Logger.INFO("Recipe Tick 1.1 - Cannot Process Recipe.");
+ Logger.MACHINE_INFO("Recipe Tick 1.1 - Cannot Process Recipe.");
if (this.mChargeConsumed < mFusionPoint) {
- Logger.INFO("Recipe Tick 1.2 - Cannot Ignite Fusion, Charge too low.");
+ Logger.MACHINE_INFO("Recipe Tick 1.2 - Cannot Ignite Fusion, Charge too low.");
this.mCharging = true;
this.mCanProcessRecipe = false;
if (this.getBaseMetaTileEntity().decreaseStoredEnergyUnits((mFusionPoint / 100), false)) {
- Logger.INFO("Recipe Tick 1.3 - Charging Internal storage. " + (mFusionPoint / 100) + "/"
+ Logger.MACHINE_INFO("Recipe Tick 1.3 - Charging Internal storage. " + (mFusionPoint / 100) + "/"
+ mFusionPoint);
mChargeConsumed += (mFusionPoint / 100);
}
@@ -152,13 +152,13 @@ public class GregtechMetaTileEntity_CompactFusionReactor extends GT_MetaTileEnti
}
}
else {
- Logger.INFO("Recipe Tick 1.1 - Try to Process Recipe.");
+ Logger.MACHINE_INFO("Recipe Tick 1.1 - Try to Process Recipe.");
if (checkRecipeMulti()) {
- Logger.INFO("Recipe Tick 1.2 - Process Recipe was Successful.");
+ Logger.MACHINE_INFO("Recipe Tick 1.2 - Process Recipe was Successful.");
return 2;
}
}
- Logger.INFO("Recipe Tick 2. - Process Recipe failed.");
+ Logger.MACHINE_INFO("Recipe Tick 2. - Process Recipe failed.");
return 0;
}
@@ -196,7 +196,7 @@ public class GregtechMetaTileEntity_CompactFusionReactor extends GT_MetaTileEnti
}
if ((tRecipe == null && !mRunningOnLoad) || (tRecipe != null && maxEUStore() < tRecipe.mSpecialValue)) {
this.mLastRecipe = null;
- Logger.INFO("Just plain bad.");
+ Logger.MACHINE_INFO("Just plain bad.");
return false;
}
if (mRunningOnLoad || tRecipe.isRecipeInputEqual(true, tFluids, new ItemStack[] {})) {
@@ -397,38 +397,38 @@ public class GregtechMetaTileEntity_CompactFusionReactor extends GT_MetaTileEnti
public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
// super.onPostTick(aBaseMetaTileEntity, aTick);
if (aBaseMetaTileEntity.isServerSide()) {
- // Logger.INFO("1");
+ // Logger.MACHINE_INFO("1");
if (mEfficiency < 0)
mEfficiency = 0;
if (mRunningOnLoad) {
- Logger.INFO("2");
+ Logger.MACHINE_INFO("2");
this.mEUStore = (int) aBaseMetaTileEntity.getStoredEU();
checkRecipeMulti();
}
if (--mUpdate == 0 || --mStartUpCheck == 0) {
- Logger.INFO("3");
+ Logger.MACHINE_INFO("3");
mMachine = true;
}
if (mStartUpCheck < 0) {
- //Logger.INFO("4");
+ //Logger.MACHINE_INFO("4");
if (mMachine) {
- //Logger.INFO("5");
+ //Logger.MACHINE_INFO("5");
if (aBaseMetaTileEntity.getStoredEU() + (2048 * tierOverclock()) < maxEUStore()) {
if (aBaseMetaTileEntity.increaseStoredEnergyUnits(2048 * tierOverclock(), true)) {
- //Logger.INFO("5.5 A");
+ //Logger.MACHINE_INFO("5.5 A");
}
else {
- //Logger.INFO("5.5 B");
+ //Logger.MACHINE_INFO("5.5 B");
}
}
if (this.mEUStore <= 0 && mMaxProgresstime > 0) {
- Logger.INFO("6");
+ Logger.MACHINE_INFO("6");
stopMachine();
this.mLastRecipe = null;
}
if (mMaxProgresstime > 0) {
- Logger.INFO("7");
+ Logger.MACHINE_INFO("7");
this.getBaseMetaTileEntity().decreaseStoredEnergyUnits(mEUt, true);
if (mMaxProgresstime > 0 && ++mProgresstime >= mMaxProgresstime) {
if (mOutputFluids != null)
@@ -448,18 +448,18 @@ public class GregtechMetaTileEntity_CompactFusionReactor extends GT_MetaTileEnti
}
}
else {
- //Logger.INFO("8");
+ //Logger.MACHINE_INFO("8");
this.mEUStore = (int) aBaseMetaTileEntity.getStoredEU();
if (aTick % 100 == 0 || aBaseMetaTileEntity.hasWorkJustBeenEnabled()
|| aBaseMetaTileEntity.hasInventoryBeenModified()) {
- Logger.INFO("9");
+ Logger.MACHINE_INFO("9");
// turnCasingActive(mMaxProgresstime > 0);
if (aBaseMetaTileEntity.isAllowedToWork()) {
- Logger.INFO("10");
+ Logger.MACHINE_INFO("10");
if (checkRecipeMulti()) {
- Logger.INFO("11");
+ Logger.MACHINE_INFO("11");
if (this.mEUStore < this.mLastRecipe.mSpecialValue) {
- Logger.INFO("12");
+ Logger.MACHINE_INFO("12");
mMaxProgresstime = 0;
// turnCasingActive(false);
}
@@ -473,12 +473,12 @@ public class GregtechMetaTileEntity_CompactFusionReactor extends GT_MetaTileEnti
}
else {
// turnCasingActive(false);
- Logger.INFO("Bad");
+ Logger.MACHINE_INFO("Bad");
this.mLastRecipe = null;
stopMachine();
}
}
- Logger.INFO("Good | "+mMaxProgresstime);
+ Logger.MACHINE_INFO("Good | "+mMaxProgresstime);
aBaseMetaTileEntity.setActive(mMaxProgresstime > 0);
}
}
@@ -489,14 +489,14 @@ public class GregtechMetaTileEntity_CompactFusionReactor extends GT_MetaTileEnti
if (!drainEnergyInput(((long) -mEUt * 10000) / Math.max(1000, mEfficiency))) {
this.mLastRecipe = null;
stopMachine();
- Logger.INFO("a1");
+ Logger.MACHINE_INFO("a1");
return false;
}
}
if (this.mEUStore <= 0) {
this.mLastRecipe = null;
stopMachine();
- Logger.INFO("a2");
+ Logger.MACHINE_INFO("a2");
return false;
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaTileEntity_PocketFusion.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaTileEntity_PocketFusion.java
index 5a0f888ddb..8b3ada610d 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaTileEntity_PocketFusion.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/basic/GregtechMetaTileEntity_PocketFusion.java
@@ -131,15 +131,15 @@ public class GregtechMetaTileEntity_PocketFusion extends GT_MetaTileEntity_Delux
@Override
public int checkRecipe() {
- Logger.INFO("Recipe Tick 1.");
+ Logger.MACHINE_INFO("Recipe Tick 1.");
if (!this.mCanProcessRecipe) {
- Logger.INFO("Recipe Tick 1.1 - Cannot Process Recipe.");
+ Logger.MACHINE_INFO("Recipe Tick 1.1 - Cannot Process Recipe.");
if (this.mChargeConsumed < mFusionPoint) {
- Logger.INFO("Recipe Tick 1.2 - Cannot Ignite Fusion, Charge too low.");
+ Logger.MACHINE_INFO("Recipe Tick 1.2 - Cannot Ignite Fusion, Charge too low.");
this.mCharging = true;
this.mCanProcessRecipe = false;
if (this.getBaseMetaTileEntity().decreaseStoredEnergyUnits((mFusionPoint / 100), false)) {
- Logger.INFO("Recipe Tick 1.3 - Charging Internal storage. " + (mFusionPoint / 100) + "/"
+ Logger.MACHINE_INFO("Recipe Tick 1.3 - Charging Internal storage. " + (mFusionPoint / 100) + "/"
+ mFusionPoint);
mChargeConsumed += (mFusionPoint / 100);
}
@@ -152,13 +152,13 @@ public class GregtechMetaTileEntity_PocketFusion extends GT_MetaTileEntity_Delux
}
}
else {
- Logger.INFO("Recipe Tick 1.1 - Try to Process Recipe.");
+ Logger.MACHINE_INFO("Recipe Tick 1.1 - Try to Process Recipe.");
if (checkRecipeMulti()) {
- Logger.INFO("Recipe Tick 1.2 - Process Recipe was Successful.");
+ Logger.MACHINE_INFO("Recipe Tick 1.2 - Process Recipe was Successful.");
return 2;
}
}
- Logger.INFO("Recipe Tick 2. - Process Recipe failed.");
+ Logger.MACHINE_INFO("Recipe Tick 2. - Process Recipe failed.");
return 0;
}
@@ -198,7 +198,7 @@ public class GregtechMetaTileEntity_PocketFusion extends GT_MetaTileEntity_Delux
if ((tRecipe == null && !mRunningOnLoad) || (tRecipe != null && maxEUStore() < tRecipe.mSpecialValue)) {
this.mLastRecipe = null;
- Logger.INFO("Just plain bad.");
+ Logger.MACHINE_INFO("Just plain bad.");
return false;
}
if (mRunningOnLoad || tRecipe.isRecipeInputEqual(true, tFluids, new ItemStack[] {})) {
@@ -399,38 +399,38 @@ public class GregtechMetaTileEntity_PocketFusion extends GT_MetaTileEntity_Delux
public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) {
// super.onPostTick(aBaseMetaTileEntity, aTick);
if (aBaseMetaTileEntity.isServerSide()) {
- // Logger.INFO("1");
+ // Logger.MACHINE_INFO("1");
if (mEfficiency < 0)
mEfficiency = 0;
if (mRunningOnLoad) {
- Logger.INFO("2");
+ Logger.MACHINE_INFO("2");
this.mEUStore = (int) aBaseMetaTileEntity.getStoredEU();
checkRecipeMulti();
}
if (--mUpdate == 0 || --mStartUpCheck == 0) {
- Logger.INFO("3");
+ Logger.MACHINE_INFO("3");
mMachine = true;
}
if (mStartUpCheck < 0) {
- //Logger.INFO("4");
+ //Logger.MACHINE_INFO("4");
if (mMachine) {
- //Logger.INFO("5");
+ //Logger.MACHINE_INFO("5");
if (aBaseMetaTileEntity.getStoredEU() + (2048 * tierOverclock()) < maxEUStore()) {
if (aBaseMetaTileEntity.increaseStoredEnergyUnits(2048 * tierOverclock(), true)) {
- //Logger.INFO("5.5 A");
+ //Logger.MACHINE_INFO("5.5 A");
}
else {
- //Logger.INFO("5.5 B");
+ //Logger.MACHINE_INFO("5.5 B");
}
}
if (this.mEUStore <= 0 && mMaxProgresstime > 0) {
- Logger.INFO("6");
+ Logger.MACHINE_INFO("6");
stopMachine();
this.mLastRecipe = null;
}
if (mMaxProgresstime > 0) {
- Logger.INFO("7");
+ Logger.MACHINE_INFO("7");
this.getBaseMetaTileEntity().decreaseStoredEnergyUnits(mEUt, true);
if (mMaxProgresstime > 0 && ++mProgresstime >= mMaxProgresstime) {
if (mOutputFluids != null)
@@ -450,18 +450,18 @@ public class GregtechMetaTileEntity_PocketFusion extends GT_MetaTileEntity_Delux
}
}
else {
- //Logger.INFO("8");
+ //Logger.MACHINE_INFO("8");
this.mEUStore = (int) aBaseMetaTileEntity.getStoredEU();
if (aTick % 100 == 0 || aBaseMetaTileEntity.hasWorkJustBeenEnabled()
|| aBaseMetaTileEntity.hasInventoryBeenModified()) {
- Logger.INFO("9");
+ Logger.MACHINE_INFO("9");
// turnCasingActive(mMaxProgresstime > 0);
if (aBaseMetaTileEntity.isAllowedToWork()) {
- Logger.INFO("10");
+ Logger.MACHINE_INFO("10");
if (checkRecipeMulti()) {
- Logger.INFO("11");
+ Logger.MACHINE_INFO("11");
if (this.mEUStore < this.mLastRecipe.mSpecialValue) {
- Logger.INFO("12");
+ Logger.MACHINE_INFO("12");
mMaxProgresstime = 0;
// turnCasingActive(false);
}
@@ -475,12 +475,12 @@ public class GregtechMetaTileEntity_PocketFusion extends GT_MetaTileEntity_Delux
}
else {
// turnCasingActive(false);
- Logger.INFO("Bad");
+ Logger.MACHINE_INFO("Bad");
this.mLastRecipe = null;
stopMachine();
}
}
- Logger.INFO("Good | "+mMaxProgresstime);
+ Logger.MACHINE_INFO("Good | "+mMaxProgresstime);
aBaseMetaTileEntity.setActive(mMaxProgresstime > 0);
}
}
@@ -491,14 +491,14 @@ public class GregtechMetaTileEntity_PocketFusion extends GT_MetaTileEntity_Delux
if (!drainEnergyInput(((long) -mEUt * 10000) / Math.max(1000, mEfficiency))) {
this.mLastRecipe = null;
stopMachine();
- Logger.INFO("a1");
+ Logger.MACHINE_INFO("a1");
return false;
}
}
if (this.mEUStore <= 0) {
this.mLastRecipe = null;
stopMachine();
- Logger.INFO("a2");
+ Logger.MACHINE_INFO("a2");
return false;
}
}
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_Plates.java b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_Plates.java
index f705ac9673..007f390112 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_Plates.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/loaders/RecipeGen_Plates.java
@@ -41,7 +41,9 @@ public class RecipeGen_Plates extends RecipeGen_Base {
final ItemStack shape_Mold = ItemList.Shape_Mold_Plate.get(0);
final ItemStack plate_Single = material.getPlate(1);
final ItemStack plate_SingleTwo = material.getPlate(2);
+ final ItemStack plate_SingleNine = material.getPlate(9);
final ItemStack plate_Double = material.getPlateDouble(1);
+ final ItemStack block = material.getBlock(1);
Logger.WARNING("Generating Plate recipes for "+material.getLocalizedName());
@@ -82,6 +84,19 @@ public class RecipeGen_Plates extends RecipeGen_Base {
else {
Logger.WARNING("Alloy Smelter Recipe: "+material.getLocalizedName()+" - Failed");
}
+ //Cutting Machine
+ if (ItemUtils.checkForInvalidItems(block) && ItemUtils.checkForInvalidItems(plate_Single))
+ if (GT_Values.RA.addCutterRecipe(
+ block,
+ null,
+ plate_SingleNine,
+ (int) Math.max(material.getMass() * 10L, 1L),
+ material.vVoltageMultiplier)){
+ Logger.WARNING("Cutting Machine Recipe: "+material.getLocalizedName()+" - Success");
+ }
+ else {
+ Logger.WARNING("ACutting Machine Recipe: "+material.getLocalizedName()+" - Failed");
+ }
//Making Double Plates