From 4d4f6e001f9e7a5b9632be348d01fb766146dbb0 Mon Sep 17 00:00:00 2001 From: Zorbatron <46525467+Zorbatron@users.noreply.github.com> Date: Thu, 2 Jan 2025 00:51:11 -0500 Subject: [PATCH] Remove fluid input text from Distillation Towers GUIs since it's been broken for six years. (#2691) --- .../MetaTileEntityDistillationTower.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/src/main/java/gregtech/common/metatileentities/multi/electric/MetaTileEntityDistillationTower.java b/src/main/java/gregtech/common/metatileentities/multi/electric/MetaTileEntityDistillationTower.java index 2c7eea8410a..886cd35353d 100644 --- a/src/main/java/gregtech/common/metatileentities/multi/electric/MetaTileEntityDistillationTower.java +++ b/src/main/java/gregtech/common/metatileentities/multi/electric/MetaTileEntityDistillationTower.java @@ -15,9 +15,7 @@ import gregtech.api.recipes.Recipe; import gregtech.api.recipes.RecipeMaps; import gregtech.api.util.GTTransferUtils; -import gregtech.api.util.GTUtility; import gregtech.api.util.RelativeDirection; -import gregtech.api.util.TextComponentUtil; import gregtech.client.renderer.ICubeRenderer; import gregtech.client.renderer.texture.Textures; import gregtech.common.blocks.BlockMetalCasing.MetalCasingType; @@ -28,15 +26,11 @@ import net.minecraft.util.ResourceLocation; import net.minecraft.util.SoundEvent; import net.minecraft.util.math.BlockPos; -import net.minecraft.util.text.ITextComponent; -import net.minecraft.util.text.TextFormatting; -import net.minecraftforge.fluids.FluidStack; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import org.jetbrains.annotations.NotNull; -import java.util.List; import java.util.function.Function; import static gregtech.api.util.RelativeDirection.*; @@ -86,22 +80,6 @@ public boolean allowsExtendedFacing() { return false; } - @Override - protected void addDisplayText(List textList) { - if (isStructureFormed()) { - FluidStack stackInTank = importFluids.drain(Integer.MAX_VALUE, false); - if (stackInTank != null && stackInTank.amount > 0) { - ITextComponent fluidName = TextComponentUtil.setColor(GTUtility.getFluidTranslation(stackInTank), - TextFormatting.AQUA); - textList.add(TextComponentUtil.translationWithColor( - TextFormatting.GRAY, - "gregtech.multiblock.distillation_tower.distilling_fluid", - fluidName)); - } - } - super.addDisplayText(textList); - } - @Override protected void formStructure(PatternMatchContext context) { super.formStructure(context);