From 2f35b76f1a4bae9226cacb9dde62126d948668bd Mon Sep 17 00:00:00 2001 From: MRH0 Date: Fri, 31 Dec 2021 16:34:48 +0100 Subject: [PATCH] Update FurnaceEngineModifiers.java --- .../flywheel/engine/FurnaceEngineModifiers.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/simibubi/create/content/contraptions/components/flywheel/engine/FurnaceEngineModifiers.java b/src/main/java/com/simibubi/create/content/contraptions/components/flywheel/engine/FurnaceEngineModifiers.java index 0354e1384..6f0c38502 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/components/flywheel/engine/FurnaceEngineModifiers.java +++ b/src/main/java/com/simibubi/create/content/contraptions/components/flywheel/engine/FurnaceEngineModifiers.java @@ -50,12 +50,14 @@ public class FurnaceEngineModifiers { } public static void register() { - INSTANCE.register(Blocks.BLAST_FURNACE.delegate, 2f); + get().register(Blocks.BLAST_FURNACE.delegate, 2f); - // Example: - // INSTANCE.register(Blocks.REDSTONE_LAMP.delegate, 1f, - // s -> s.getBlock() instanceof RedstoneLampBlock && s.hasProperty(RedstoneLampBlock.LIT) ? - // (s.getValue(RedstoneLampBlock.LIT) ? EngineState.ACTIVE : EngineState.VALID) : EngineState.EMPTY); + /* + Example: + INSTANCE.register(Blocks.REDSTONE_LAMP.delegate, 1f, + s -> s.getBlock() instanceof RedstoneLampBlock && s.hasProperty(RedstoneLampBlock.LIT) ? + (s.getValue(RedstoneLampBlock.LIT) ? EngineState.ACTIVE : EngineState.VALID) : EngineState.EMPTY); + */ } public static FurnaceEngineModifiers get() {