|
15 | 15 | import gregtech.api.recipes.Recipe; |
16 | 16 | import gregtech.api.recipes.RecipeMaps; |
17 | 17 | import gregtech.api.util.GTTransferUtils; |
18 | | -import gregtech.api.util.GTUtility; |
19 | 18 | import gregtech.api.util.RelativeDirection; |
20 | | -import gregtech.api.util.TextComponentUtil; |
21 | 19 | import gregtech.client.renderer.ICubeRenderer; |
22 | 20 | import gregtech.client.renderer.texture.Textures; |
23 | 21 | import gregtech.common.blocks.BlockMetalCasing.MetalCasingType; |
|
28 | 26 | import net.minecraft.util.ResourceLocation; |
29 | 27 | import net.minecraft.util.SoundEvent; |
30 | 28 | 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; |
34 | 29 | import net.minecraftforge.fml.relauncher.Side; |
35 | 30 | import net.minecraftforge.fml.relauncher.SideOnly; |
36 | 31 |
|
37 | 32 | import org.jetbrains.annotations.NotNull; |
38 | 33 |
|
39 | | -import java.util.List; |
40 | 34 | import java.util.function.Function; |
41 | 35 |
|
42 | 36 | import static gregtech.api.util.RelativeDirection.*; |
@@ -86,22 +80,6 @@ public boolean allowsExtendedFacing() { |
86 | 80 | return false; |
87 | 81 | } |
88 | 82 |
|
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 | | - |
105 | 83 | @Override |
106 | 84 | protected void formStructure(PatternMatchContext context) { |
107 | 85 | super.formStructure(context); |
|
0 commit comments