Skip to content

Commit 4d4f6e0

Browse files
authored
Remove fluid input text from Distillation Towers GUIs since it's been broken for six years. (GregTechCEu#2691)
1 parent 185bd5a commit 4d4f6e0

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/main/java/gregtech/common/metatileentities/multi/electric/MetaTileEntityDistillationTower.java

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
import gregtech.api.recipes.Recipe;
1616
import gregtech.api.recipes.RecipeMaps;
1717
import gregtech.api.util.GTTransferUtils;
18-
import gregtech.api.util.GTUtility;
1918
import gregtech.api.util.RelativeDirection;
20-
import gregtech.api.util.TextComponentUtil;
2119
import gregtech.client.renderer.ICubeRenderer;
2220
import gregtech.client.renderer.texture.Textures;
2321
import gregtech.common.blocks.BlockMetalCasing.MetalCasingType;
@@ -28,15 +26,11 @@
2826
import net.minecraft.util.ResourceLocation;
2927
import net.minecraft.util.SoundEvent;
3028
import net.minecraft.util.math.BlockPos;
31-
import net.minecraft.util.text.ITextComponent;
32-
import net.minecraft.util.text.TextFormatting;
33-
import net.minecraftforge.fluids.FluidStack;
3429
import net.minecraftforge.fml.relauncher.Side;
3530
import net.minecraftforge.fml.relauncher.SideOnly;
3631

3732
import org.jetbrains.annotations.NotNull;
3833

39-
import java.util.List;
4034
import java.util.function.Function;
4135

4236
import static gregtech.api.util.RelativeDirection.*;
@@ -86,22 +80,6 @@ public boolean allowsExtendedFacing() {
8680
return false;
8781
}
8882

89-
@Override
90-
protected void addDisplayText(List<ITextComponent> textList) {
91-
if (isStructureFormed()) {
92-
FluidStack stackInTank = importFluids.drain(Integer.MAX_VALUE, false);
93-
if (stackInTank != null && stackInTank.amount > 0) {
94-
ITextComponent fluidName = TextComponentUtil.setColor(GTUtility.getFluidTranslation(stackInTank),
95-
TextFormatting.AQUA);
96-
textList.add(TextComponentUtil.translationWithColor(
97-
TextFormatting.GRAY,
98-
"gregtech.multiblock.distillation_tower.distilling_fluid",
99-
fluidName));
100-
}
101-
}
102-
super.addDisplayText(textList);
103-
}
104-
10583
@Override
10684
protected void formStructure(PatternMatchContext context) {
10785
super.formStructure(context);

0 commit comments

Comments
 (0)