Skip to content

Commit

Permalink
fix: some other DTs
Browse files Browse the repository at this point in the history
  • Loading branch information
MCTian-mi committed Dec 15, 2024
1 parent be581ce commit 0e7407d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 0e7407d

Please sign in to comment.