diff --git a/src/main/java/supersymmetry/common/metatileentities/multi/electric/MetaTileEntityHighPressureCryogenicDistillationPlant.java b/src/main/java/supersymmetry/common/metatileentities/multi/electric/MetaTileEntityHighPressureCryogenicDistillationPlant.java index 9b08a0526..a690755e7 100644 --- a/src/main/java/supersymmetry/common/metatileentities/multi/electric/MetaTileEntityHighPressureCryogenicDistillationPlant.java +++ b/src/main/java/supersymmetry/common/metatileentities/multi/electric/MetaTileEntityHighPressureCryogenicDistillationPlant.java @@ -1,5 +1,6 @@ package supersymmetry.common.metatileentities.multi.electric; +import gregtech.api.capability.impl.DistillationTowerLogicHandler; import gregtech.api.metatileentity.MetaTileEntity; import gregtech.api.metatileentity.interfaces.IGregTechTileEntity; import gregtech.api.metatileentity.multiblock.IMultiblockPart; @@ -14,6 +15,7 @@ import net.minecraft.block.state.IBlockState; import net.minecraft.util.ResourceLocation; import org.jetbrains.annotations.NotNull; +import supersymmetry.api.capability.impl.ExtendedDTLogicHandler; import supersymmetry.api.metatileentity.multiblock.MetaTileEntityOrderedDT; import supersymmetry.api.recipes.SuSyRecipeMaps; import supersymmetry.client.renderer.textures.SusyTextures; @@ -62,6 +64,13 @@ protected BlockPattern createStructurePattern() { .build(); } + @Override + @NotNull + public DistillationTowerLogicHandler createHandler() { + return new ExtendedDTLogicHandler(this, 2, ignored -> 1); + } + + protected static IBlockState getCasingState() { return MetaBlocks.METAL_CASING.getState(MetalCasingType.ALUMINIUM_FROSTPROOF); } diff --git a/src/main/java/supersymmetry/common/metatileentities/multi/electric/MetaTileEntitySingleColumnCryogenicDistillationPlant.java b/src/main/java/supersymmetry/common/metatileentities/multi/electric/MetaTileEntitySingleColumnCryogenicDistillationPlant.java index 84ff0c4b4..2b523c186 100644 --- a/src/main/java/supersymmetry/common/metatileentities/multi/electric/MetaTileEntitySingleColumnCryogenicDistillationPlant.java +++ b/src/main/java/supersymmetry/common/metatileentities/multi/electric/MetaTileEntitySingleColumnCryogenicDistillationPlant.java @@ -1,5 +1,6 @@ package supersymmetry.common.metatileentities.multi.electric; +import gregtech.api.capability.impl.DistillationTowerLogicHandler; import gregtech.api.metatileentity.MetaTileEntity; import gregtech.api.metatileentity.interfaces.IGregTechTileEntity; import gregtech.api.metatileentity.multiblock.IMultiblockPart; @@ -14,6 +15,7 @@ import net.minecraft.block.state.IBlockState; import net.minecraft.util.ResourceLocation; import org.jetbrains.annotations.NotNull; +import supersymmetry.api.capability.impl.ExtendedDTLogicHandler; import supersymmetry.api.metatileentity.multiblock.ICryogenicProvider; import supersymmetry.api.metatileentity.multiblock.ICryogenicReceiver; import supersymmetry.api.metatileentity.multiblock.MetaTileEntityOrderedDT; @@ -71,6 +73,12 @@ protected BlockPattern createStructurePattern() { .build(); } + @Override + @NotNull + public DistillationTowerLogicHandler createHandler() { + return new ExtendedDTLogicHandler(this, 2, ignored -> 1); + } + protected static IBlockState getCasingState() { return MetaBlocks.METAL_CASING.getState(MetalCasingType.ALUMINIUM_FROSTPROOF); }