aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
diff options
context:
space:
mode:
authorMary <33456283+FourIsTheNumber@users.noreply.github.com>2024-11-14 09:18:08 -0500
committerGitHub <noreply@github.com>2024-11-14 14:18:08 +0000
commit78d61f626328702d1b6c9b937f84e2aa4119b009 (patch)
tree5d90a7d17d8f10c7b6c71a9f8eef0de57833c396 /src/main/java/gregtech/common
parenta35585567574ee0d5dc4a7e0942df41346a7b809 (diff)
downloadGT5-Unofficial-78d61f626328702d1b6c9b937f84e2aa4119b009.tar.gz
GT5-Unofficial-78d61f626328702d1b6c9b937f84e2aa4119b009.tar.bz2
GT5-Unofficial-78d61f626328702d1b6c9b937f84e2aa4119b009.zip
Add explicit mention of exotic energy hatches (#3491)
Diffstat (limited to 'src/main/java/gregtech/common')
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/MTENanoForge.java1
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/MTEPCBFactory.java1
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/MTEWormholeGenerator.java4
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/compressor/MTEBlackHoleCompressor.java3
-rw-r--r--src/main/java/gregtech/common/tileentities/machines/multi/purification/MTEPurificationPlant.java3
5 files changed, 7 insertions, 5 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/MTENanoForge.java b/src/main/java/gregtech/common/tileentities/machines/multi/MTENanoForge.java
index 218c90c3bd..66bad3d492 100644
--- a/src/main/java/gregtech/common/tileentities/machines/multi/MTENanoForge.java
+++ b/src/main/java/gregtech/common/tileentities/machines/multi/MTENanoForge.java
@@ -371,6 +371,7 @@ public class MTENanoForge extends MTEExtendedPowerMultiBlockBase<MTENanoForge> i
.addSeparator()
.addInfo("If a recipe's tier is lower than the tier of the Nano Forge")
.addInfo("it gains " + EnumChatFormatting.RED + "perfect overclock" + EnumChatFormatting.GRAY + ".")
+ .addTecTechHatchInfo()
.beginStructureBlock(30, 38, 13, false)
.addStructureInfo("Tier " + EnumChatFormatting.DARK_PURPLE + 1 + EnumChatFormatting.GRAY)
.addStructureInfo(
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/MTEPCBFactory.java b/src/main/java/gregtech/common/tileentities/machines/multi/MTEPCBFactory.java
index db564e9db4..603f66c734 100644
--- a/src/main/java/gregtech/common/tileentities/machines/multi/MTEPCBFactory.java
+++ b/src/main/java/gregtech/common/tileentities/machines/multi/MTEPCBFactory.java
@@ -859,6 +859,7 @@ public class MTEPCBFactory extends MTEExtendedPowerMultiBlockBase<MTEPCBFactory>
.addInfo("Liquid Cooling uses 10 L/s of distilled water and enables default overclocks.")
.addInfo("Thermosink uses 10 L/s of Super Coolant and enables perfect overclocks.")
.addInfo("Trace size can be changed to modify the material usage and machine speed.")
+ .addTecTechHatchInfo()
.beginStructureBlock(30, 38, 13, false)
.addMaintenanceHatch(EnumChatFormatting.GOLD + "1", 1)
.addEnergyHatch(
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/MTEWormholeGenerator.java b/src/main/java/gregtech/common/tileentities/machines/multi/MTEWormholeGenerator.java
index 4c603f7bb4..283aee3c29 100644
--- a/src/main/java/gregtech/common/tileentities/machines/multi/MTEWormholeGenerator.java
+++ b/src/main/java/gregtech/common/tileentities/machines/multi/MTEWormholeGenerator.java
@@ -666,7 +666,7 @@ public class MTEWormholeGenerator extends MTEEnhancedMultiBlockBase<MTEWormholeG
long toSend = GTUtility.min(available, empty, maxSend, maxReceive, maxIO);
double overclocks = 0;
-
+
if (mAllowOverclocks) {
overclocks = Math.log((double)toSend / (double)optimal) / Math.log(4.0);
overclocks = MathHelper.clamp_double(overclocks, 0, MAX_OVERCLOCKS);
@@ -998,7 +998,7 @@ public class MTEWormholeGenerator extends MTEEnhancedMultiBlockBase<MTEWormholeG
.addInfo("Each laser target must have a laser source on the §oother§7 controller, on the §oopposite§7 side.")
.addInfo("Consumes an AE2 Singularity from an input bus each time the wormhole is kick-started.")
.addInfo("Right click the controller with a screwdriver to disable overclocking.")
- .addInfo("Works with low power lasers.")
+ .addTecTechHatchInfo()
.beginStructureBlock(7, 9, 7, false)
.addCasingInfoExactly("Molecular Casing", 2 * 12, false)
.addCasingInfoExactly("Europium Reinforced Radiation Proof Machine Casing", 4, false)
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/compressor/MTEBlackHoleCompressor.java b/src/main/java/gregtech/common/tileentities/machines/multi/compressor/MTEBlackHoleCompressor.java
index d945dde089..ae52600f5c 100644
--- a/src/main/java/gregtech/common/tileentities/machines/multi/compressor/MTEBlackHoleCompressor.java
+++ b/src/main/java/gregtech/common/tileentities/machines/multi/compressor/MTEBlackHoleCompressor.java
@@ -1,6 +1,5 @@
package gregtech.common.tileentities.machines.multi.compressor;
-import static bartworks.util.BWTooltipReference.TT;
import static com.gtnewhorizon.structurelib.structure.StructureUtility.ofBlock;
import static com.gtnewhorizon.structurelib.structure.StructureUtility.onElementPass;
import static com.gtnewhorizon.structurelib.structure.StructureUtility.transpose;
@@ -373,7 +372,7 @@ public class MTEBlackHoleCompressor extends MTEExtendedPowerMultiBlockBase<MTEBl
+ " parallels when stability is BELOW "
+ EnumChatFormatting.RED
+ "50/20")
- .addInfo("Accepts " + TT + " energy hatches")
+ .addTecTechHatchInfo()
.addInfo(
EnumChatFormatting.RED
+ "Recipe tier is limited to hatch tier + 1. Will not perform overclocks above the hatch tier.")
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/purification/MTEPurificationPlant.java b/src/main/java/gregtech/common/tileentities/machines/multi/purification/MTEPurificationPlant.java
index dd30052d91..a3b89adcf6 100644
--- a/src/main/java/gregtech/common/tileentities/machines/multi/purification/MTEPurificationPlant.java
+++ b/src/main/java/gregtech/common/tileentities/machines/multi/purification/MTEPurificationPlant.java
@@ -188,7 +188,8 @@ public class MTEPurificationPlant extends MTEExtendedPowerMultiBlockBase<MTEPuri
+ EnumChatFormatting.GRAY
+ " blocks along each axis.")
.addInfo("Left click this controller with a data stick, then right click a purification unit to link.")
- .addInfo("Supplies power to linked purification units. This multiblock accepts TecTech energy hatches.")
+ .addInfo("Supplies power to linked purification units.")
+ .addTecTechHatchInfo()
.addSeparator()
.addInfo(
"Works in fixed time processing cycles of " + EnumChatFormatting.RED