From 976d53c9e4dd6378028f3145f39ba43f37a86dd4 Mon Sep 17 00:00:00 2001 From: grimmauld Date: Sat, 10 Jul 2021 10:54:54 +0200 Subject: [PATCH] Adjustable repeater, Pulse repeater, Powered latch and toggle latch can now power comparators from the side, like vanilla repeaters already can --- .../content/logistics/block/diodes/AbstractDiodeBlock.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/content/logistics/block/diodes/AbstractDiodeBlock.java b/src/main/java/com/simibubi/create/content/logistics/block/diodes/AbstractDiodeBlock.java index 4d43d897f..a79285187 100644 --- a/src/main/java/com/simibubi/create/content/logistics/block/diodes/AbstractDiodeBlock.java +++ b/src/main/java/com/simibubi/create/content/logistics/block/diodes/AbstractDiodeBlock.java @@ -2,6 +2,7 @@ package com.simibubi.create.content.logistics.block.diodes; import com.simibubi.create.content.contraptions.wrench.IWrenchable; +import net.minecraft.block.BlockState; import net.minecraft.block.RedstoneDiodeBlock; public abstract class AbstractDiodeBlock extends RedstoneDiodeBlock implements IWrenchable { @@ -9,5 +10,9 @@ public abstract class AbstractDiodeBlock extends RedstoneDiodeBlock implements I public AbstractDiodeBlock(Properties builder) { super(builder); } - + + @Override + public boolean canProvidePower(BlockState state) { + return true; + } }