Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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.*;
Expand Down Expand Up @@ -86,22 +80,6 @@ public boolean allowsExtendedFacing() {
return false;
}

@Override
protected void addDisplayText(List<ITextComponent> 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);
Expand Down
Loading