diff --git a/src/main/java/supersymmetry/api/metatileentity/multiblock/MetaTileEntityOrderedDT.java b/src/main/java/supersymmetry/api/metatileentity/multiblock/MetaTileEntityOrderedDT.java index 4e8d2f767..56056ac01 100644 --- a/src/main/java/supersymmetry/api/metatileentity/multiblock/MetaTileEntityOrderedDT.java +++ b/src/main/java/supersymmetry/api/metatileentity/multiblock/MetaTileEntityOrderedDT.java @@ -5,11 +5,17 @@ import gregtech.api.metatileentity.multiblock.RecipeMapMultiblockController; import gregtech.api.pattern.PatternMatchContext; import gregtech.api.recipes.RecipeMap; +import gregtech.client.utils.TooltipHelper; +import net.minecraft.client.resources.I18n; +import net.minecraft.item.ItemStack; import net.minecraft.util.ResourceLocation; import net.minecraft.util.math.BlockPos; +import net.minecraft.world.World; import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; import supersymmetry.common.recipes.DistillationTowerRecipeLogic; +import java.util.List; import java.util.function.Function; import static gregtech.api.util.RelativeDirection.UP; @@ -76,4 +82,11 @@ public int getFluidOutputLimit() { public boolean allowsExtendedFacing() { return false; } + + @Override + public void addInformation(ItemStack stack, @Nullable World world, @NotNull List tooltip, boolean advanced) { + super.addInformation(stack, world, tooltip, advanced); + tooltip.add(I18n.format("gregtech.machine.ordered_dt.tooltip.1")); + tooltip.add(I18n.format("gregtech.machine.ordered_dt.tooltip.2")); + } } diff --git a/src/main/resources/assets/susy/lang/en_us.lang b/src/main/resources/assets/susy/lang/en_us.lang index 966b65ad7..b6a78b7c4 100644 --- a/src/main/resources/assets/susy/lang/en_us.lang +++ b/src/main/resources/assets/susy/lang/en_us.lang @@ -759,6 +759,10 @@ gregtech.machine.fluid_hatch.export_9x.hv.name=HV Nonuple Output Hatch gregtech.machine.dumping_hatch=Dumping Hatch gregtech.machine.dumping_hatch.lv.name=Dumping Hatch +# Distillation tower explanations +gregtech.machine.ordered_dt.tooltip.1=Fluid input and output hatches are on the same layers +gregtech.machine.ordered_dt.tooltip.2=§cNot putting a fluid output in the Nth layer from the bottom voids the Nth output§7 + # Metaitems metaitem.catalyst_bed_support_grid.name=Catalyst Bed Support Grid metaitem.conveyor.steam.name=Steam Conveyor