Adjustable repeater, Pulse repeater, Powered latch and toggle latch can now power comparators from the side, like vanilla repeaters already can

This commit is contained in:
grimmauld 2021-07-10 10:54:54 +02:00
parent 1f4b8d3303
commit 976d53c9e4

View file

@ -2,6 +2,7 @@ package com.simibubi.create.content.logistics.block.diodes;
import com.simibubi.create.content.contraptions.wrench.IWrenchable; import com.simibubi.create.content.contraptions.wrench.IWrenchable;
import net.minecraft.block.BlockState;
import net.minecraft.block.RedstoneDiodeBlock; import net.minecraft.block.RedstoneDiodeBlock;
public abstract class AbstractDiodeBlock extends RedstoneDiodeBlock implements IWrenchable { public abstract class AbstractDiodeBlock extends RedstoneDiodeBlock implements IWrenchable {
@ -10,4 +11,8 @@ public abstract class AbstractDiodeBlock extends RedstoneDiodeBlock implements I
super(builder); super(builder);
} }
@Override
public boolean canProvidePower(BlockState state) {
return true;
}
} }