aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/loaders
diff options
context:
space:
mode:
authorMartin Robertz <dream-master@gmx.net>2022-09-01 07:06:50 +0200
committerGitHub <noreply@github.com>2022-09-01 07:06:50 +0200
commit88c85d87946a2a0664afe0115dc6762238fa3670 (patch)
tree0a470c127104438641b4da525ccfb882e63f44f9 /src/main/java/gregtech/loaders
parente6275c61c08f5fcc03ae234b4d68b2a74644b2e7 (diff)
downloadGT5-Unofficial-88c85d87946a2a0664afe0115dc6762238fa3670.tar.gz
GT5-Unofficial-88c85d87946a2a0664afe0115dc6762238fa3670.tar.bz2
GT5-Unofficial-88c85d87946a2a0664afe0115dc6762238fa3670.zip
Sodium potassium (#1322)
* Add a new way get Sodium Potassium Add Fluid Sodium to gt * spotless remove old NAk and Helium cell recipes * derp * add liquid sodium texture (cherry picked from commit bd050330f91e0306e156f6a130783e867661338a) * add liquid sodium cells (cherry picked from commit 45f988cf3bbca43abf3f07a0a8e7ba891b8727a3) * move recipe to core mod (cherry picked from commit 7db15cd792136abac6fb88c9a7fa9d05f1f0619e) * add a heater recipe without a input fluid * Revert "move recipe to core mod" This reverts commit 9d5ff875a00e59c6edb52336b7d9c20889d9bd9b. * use fluid heater recipe without input fluid * Spotless apply for branch Sodium-Potassium for #1322 (#1328) * Two slots wiremill (#1324) * add a circuit slot to wiremil * add circuits to wire recipes * add 2 input slots to Wiremil * exchange circuit and material slot * add 2x-16x wires to wiremil * add missing 12x wires * add slot migration code (#1326) * spotlessApply (#1327) Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: GitHub GTNH Actions <> Co-authored-by: Glease <4586901+Glease@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * spotlessApply Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: Glease <4586901+Glease@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> * Revert "Spotless apply for branch Sodium-Potassium for #1322 (#1328)" This reverts commit 5bf31ffddfeddd1c4d161d434abb8402939ec9d6. * spotless * make fluid heater working with <1 fluid (cherry picked from commit 8045cf6f03d0ce030b8e7b2fa6c70dca6d9ccc5d) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/loaders')
-rw-r--r--src/main/java/gregtech/loaders/postload/GT_MachineRecipeLoader.java3
-rw-r--r--src/main/java/gregtech/loaders/preload/GT_Loader_Item_Block_And_Fluid.java84
2 files changed, 13 insertions, 74 deletions
diff --git a/src/main/java/gregtech/loaders/postload/GT_MachineRecipeLoader.java b/src/main/java/gregtech/loaders/postload/GT_MachineRecipeLoader.java
index 2000442437..0dcd9c5bfb 100644
--- a/src/main/java/gregtech/loaders/postload/GT_MachineRecipeLoader.java
+++ b/src/main/java/gregtech/loaders/postload/GT_MachineRecipeLoader.java
@@ -14540,6 +14540,9 @@ public class GT_MachineRecipeLoader implements Runnable {
Materials.Quicklime.getDust(2),
80,
480);
+ // Fluid Sodium
+ GT_Values.RA.addFluidHeaterRecipe(Materials.Sodium.getDust(1), Materials.Sodium.getFluid(1000), 200, 120);
+
// 2CH3COOH = CH3COCH3 + CO2 + H
GT_Values.RA.addMultiblockChemicalRecipe(
new ItemStack[] {
diff --git a/src/main/java/gregtech/loaders/preload/GT_Loader_Item_Block_And_Fluid.java b/src/main/java/gregtech/loaders/preload/GT_Loader_Item_Block_And_Fluid.java
index 66a241604b..0529dd5e5d 100644
--- a/src/main/java/gregtech/loaders/preload/GT_Loader_Item_Block_And_Fluid.java
+++ b/src/main/java/gregtech/loaders/preload/GT_Loader_Item_Block_And_Fluid.java
@@ -113,92 +113,18 @@ public class GT_Loader_Item_Block_And_Fluid implements Runnable {
ItemList.Neutron_Reflector.set(
new GT_NeutronReflector_Item("neutronreflector", "Iridium Neutron Reflector", 0));
-
ItemList.Reactor_Coolant_He_1.set(
GregTech_API.constructCoolantCellItem("60k_Helium_Coolantcell", "60k He Coolant Cell", 60000));
- GT_ModHandler.addCraftingRecipe(
- ItemList.Reactor_Coolant_He_1.get(1L, new Object[0]),
- GT_ModHandler.RecipeBits.BUFFERED | GT_ModHandler.RecipeBits.NOT_REMOVABLE,
- new Object[] {
- " P ",
- "PCP",
- " P ",
- 'C',
- OrePrefixes.cell.get(Materials.Helium),
- 'P',
- OrePrefixes.plate.get(Materials.Tin)
- });
-
ItemList.Reactor_Coolant_He_3.set(
GregTech_API.constructCoolantCellItem("180k_Helium_Coolantcell", "180k He Coolant Cell", 180000));
- GT_ModHandler.addCraftingRecipe(
- ItemList.Reactor_Coolant_He_3.get(1L, new Object[0]),
- GT_ModHandler.RecipeBits.BUFFERED | GT_ModHandler.RecipeBits.NOT_REMOVABLE,
- new Object[] {
- "PCP", "PCP", "PCP", 'C', ItemList.Reactor_Coolant_He_1, 'P', OrePrefixes.plate.get(Materials.Tin)
- });
-
ItemList.Reactor_Coolant_He_6.set(
GregTech_API.constructCoolantCellItem("360k_Helium_Coolantcell", "360k He Coolant Cell", 360000));
- GT_ModHandler.addCraftingRecipe(
- ItemList.Reactor_Coolant_He_6.get(1L, new Object[0]),
- GT_ModHandler.RecipeBits.BUFFERED | GT_ModHandler.RecipeBits.NOT_REMOVABLE,
- new Object[] {
- "PCP",
- "PDP",
- "PCP",
- 'C',
- ItemList.Reactor_Coolant_He_3,
- 'P',
- OrePrefixes.plate.get(Materials.Tin),
- 'D',
- OrePrefixes.plateDense.get(Materials.Copper)
- });
-
ItemList.Reactor_Coolant_NaK_1.set(
GregTech_API.constructCoolantCellItem("60k_NaK_Coolantcell", "60k NaK Coolantcell", 60000));
- GT_ModHandler.addCraftingRecipe(
- ItemList.Reactor_Coolant_NaK_1.get(1L, new Object[0]),
- GT_ModHandler.RecipeBits.BUFFERED | GT_ModHandler.RecipeBits.NOT_REMOVABLE,
- new Object[] {
- "TST",
- "PCP",
- "TST",
- 'C',
- GT_ModHandler.getIC2Item("reactorCoolantSimple", 1L, 1),
- 'T',
- OrePrefixes.plate.get(Materials.Tin),
- 'S',
- OrePrefixes.dust.get(Materials.Sodium),
- 'P',
- OrePrefixes.dust.get(Materials.Potassium)
- });
-
ItemList.Reactor_Coolant_NaK_3.set(
GregTech_API.constructCoolantCellItem("180k_NaK_Coolantcell", "180k NaK Coolantcell", 180000));
- GT_ModHandler.addCraftingRecipe(
- ItemList.Reactor_Coolant_NaK_3.get(1L, new Object[0]),
- GT_ModHandler.RecipeBits.BUFFERED | GT_ModHandler.RecipeBits.NOT_REMOVABLE,
- new Object[] {
- "PCP", "PCP", "PCP", 'C', ItemList.Reactor_Coolant_NaK_1, 'P', OrePrefixes.plate.get(Materials.Tin)
- });
-
ItemList.Reactor_Coolant_NaK_6.set(
GregTech_API.constructCoolantCellItem("360k_NaK_Coolantcell", "360k NaK Coolantcell", 360000));
- GT_ModHandler.addCraftingRecipe(
- ItemList.Reactor_Coolant_NaK_6.get(1L, new Object[0]),
- GT_ModHandler.RecipeBits.BUFFERED | GT_ModHandler.RecipeBits.NOT_REMOVABLE,
- new Object[] {
- "PCP",
- "PDP",
- "PCP",
- 'C',
- ItemList.Reactor_Coolant_NaK_3,
- 'P',
- OrePrefixes.plate.get(Materials.Tin),
- 'D',
- OrePrefixes.plateDense.get(Materials.Copper)
- });
ItemList.Reactor_Coolant_Sp_1.set(
GregTech_API.constructCoolantCellItem("180k_Space_Coolantcell", "180k Sp Coolant Cell", 180000));
@@ -1408,6 +1334,16 @@ public class GT_Loader_Item_Block_And_Fluid implements Runnable {
Materials.FierySteel.getFluid(250L),
ItemList.TF_Vial_FieryBlood.get(1L, new Object[0]),
ItemList.Bottle_Empty.get(1L, new Object[0])));
+
+ GT_Mod.gregtechproxy.addFluid(
+ "liquid_sodium",
+ "Liquid Sodium",
+ Materials.Sodium,
+ 1,
+ 495,
+ GT_OreDictUnificator.get(OrePrefixes.cell, Materials.Sodium, 1L),
+ ItemList.Cell_Empty.get(1L, new Object[0]),
+ 1000);
}
FluidContainerRegistry.registerFluidContainer(new FluidContainerRegistry.FluidContainerData(