aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorMary <33456283+FourIsTheNumber@users.noreply.github.com>2024-08-29 11:15:21 -0400
committerGitHub <noreply@github.com>2024-08-29 17:15:21 +0200
commit03f8ac57b99f8fa26975151ad39cb1a78667db73 (patch)
tree1f61751081785526d26875383cc344be5ada9e32 /src/main/java/com
parent7d3ddfa1a325d7b2f0248bc771a5c0dcbc6eb839 (diff)
downloadGT5-Unofficial-03f8ac57b99f8fa26975151ad39cb1a78667db73.tar.gz
GT5-Unofficial-03f8ac57b99f8fa26975151ad39cb1a78667db73.tar.bz2
GT5-Unofficial-03f8ac57b99f8fa26975151ad39cb1a78667db73.zip
Compressor Multiblock (#2861)
* Compressor boilerplate * Getting test structure working * Structure fixes * Implemented basic HIP and Black Hole structure elements complete with heat and black hole stabilization mechanics * Cooling glow, also HIP cools much slower than it heats * Got blue cooling texture working * spotless :3 * Force structure checks every 10 seconds like nano forge * Neutronium compressor recipemap created * Various strange changes attempting to get a neutronium compressor map working. Shelved for now * Absolutely going hog wild with neutronium testing * BIG RECIPE * Added Ollie author tag * Added a bunch of neutronium compressor recipes * Deeply cursed recipemap combining * Neutronium compressor structure * Black hole requirement for recipes established * Black hole implementation changed * Added black hole catalyzation * spotless * Removed neutronium compressor recipes from gt5u * Made eternal singularity work somehow * Boilerplate for new hatches * Tinkering * Split the multi in 4 * Fix refactor * Implemented the new black hole mechanic with catalysts. * Give speed bonuses/nerfs to recipes based on black hole. Shuffled some logic around * Imported real structures * Proper HIP implementation with heat sensor * Cut HIP mechanics from Neutronium * Restore Gangue for use in a black hole recipe * Made Gangue blocks load * sa+update deps * Added t1/t2 casings * Temporary casings for neutronium * SA from merge * Temporary HIP Textures * Temporary Black Hole textures * Support machinemode for black hole, support special value for compression * Don't let neutronium compressor do black hole recipes * Get all of the numbers in * Tooltip adjustments for readability * Casing fix and more tooltips * Correct structure tooltips * Improve legibility of HIP tooltip * 1 parallel per tier when overheated * Lost my privates * Fixed modern cast and imported the new textures * Removed very unnecessary logic * Nerf HIP parallels to 4 to make black hole better * Change all special value stuff to proper metadata --------- Co-authored-by: Martin Robertz <dream-master@gmx.net>
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/elisis/gtnhlanth/common/register/WerkstoffMaterialPool.java14
-rw-r--r--src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java2
2 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/com/elisis/gtnhlanth/common/register/WerkstoffMaterialPool.java b/src/main/java/com/elisis/gtnhlanth/common/register/WerkstoffMaterialPool.java
index 26a3cb65e3..0a7a808d8d 100644
--- a/src/main/java/com/elisis/gtnhlanth/common/register/WerkstoffMaterialPool.java
+++ b/src/main/java/com/elisis/gtnhlanth/common/register/WerkstoffMaterialPool.java
@@ -9,6 +9,7 @@ import com.github.bartimaeusnek.bartworks.system.material.Werkstoff;
import com.github.bartimaeusnek.bartworks.util.Pair;
import gregtech.api.enums.Materials;
+import gregtech.api.enums.OrePrefixes;
import gregtech.api.enums.TextureSet;
@SuppressWarnings({ "unchecked" })
@@ -682,6 +683,19 @@ public class WerkstoffMaterialPool implements Runnable {
offsetID2 + 8,
TextureSet.SET_DULL);
+ public static final Werkstoff Gangue = new Werkstoff(
+ new short[] { 0, 0, 0 },
+ "Gangue",
+ subscriptNumbers("Useless..."),
+ new Werkstoff.Stats(),
+ Werkstoff.Types.MIXTURE,
+ new Werkstoff.GenerationFeatures().disable()
+ .onlyDust()
+ .addPrefix(OrePrefixes.block)
+ .removePrefix(OrePrefixes.ingot)
+ .removePrefix(OrePrefixes.gem),
+ offsetID2 + 9,
+ TextureSet.SET_DULL);
// TODO: Deal with colouring
public static final Werkstoff RoastedRareEarthOxides = new Werkstoff(
new short[] { 160, 82, 45 },
diff --git a/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java b/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java
index e568ea219c..57e58e9501 100644
--- a/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java
+++ b/src/main/java/com/elisis/gtnhlanth/loader/RecipeLoader.java
@@ -40,6 +40,7 @@ import static com.elisis.gtnhlanth.common.register.WerkstoffMaterialPool.FilledY
import static com.elisis.gtnhlanth.common.register.WerkstoffMaterialPool.GadoliniumChlorideConcentrate;
import static com.elisis.gtnhlanth.common.register.WerkstoffMaterialPool.GadoliniumExtractingNanoResin;
import static com.elisis.gtnhlanth.common.register.WerkstoffMaterialPool.GadoliniumOreConcentrate;
+import static com.elisis.gtnhlanth.common.register.WerkstoffMaterialPool.Gangue;
import static com.elisis.gtnhlanth.common.register.WerkstoffMaterialPool.HolmiumChlorideConcentrate;
import static com.elisis.gtnhlanth.common.register.WerkstoffMaterialPool.HolmiumExtractingNanoResin;
import static com.elisis.gtnhlanth.common.register.WerkstoffMaterialPool.HolmiumOreConcentrate;
@@ -1532,6 +1533,7 @@ public class RecipeLoader {
WerkstoffMaterialPool.ConditionedBastnasiteMud.getFluidOrGas(1000))
.itemInputs(Materials.Saltpeter.getDust(1))
.fluidOutputs(WerkstoffMaterialPool.DiltedRareEarthBastnasiteMud.getFluidOrGas(11000))
+ .itemOutputs(Gangue.get(OrePrefixes.dust, 1))
.eut(TierEU.RECIPE_EV)
.duration(1000)
.metadata(DISSOLUTION_TANK_RATIO, 10)