Update FurnaceEngineModifiers.java

This commit is contained in:
MRH0 2021-12-31 16:34:48 +01:00
parent 6107b939a5
commit 2f35b76f1a

View file

@ -50,12 +50,14 @@ public class FurnaceEngineModifiers {
} }
public static void register() { 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, Example:
// s -> s.getBlock() instanceof RedstoneLampBlock && s.hasProperty(RedstoneLampBlock.LIT) ? INSTANCE.register(Blocks.REDSTONE_LAMP.delegate, 1f,
// (s.getValue(RedstoneLampBlock.LIT) ? EngineState.ACTIVE : EngineState.VALID) : EngineState.EMPTY); s -> s.getBlock() instanceof RedstoneLampBlock && s.hasProperty(RedstoneLampBlock.LIT) ?
(s.getValue(RedstoneLampBlock.LIT) ? EngineState.ACTIVE : EngineState.VALID) : EngineState.EMPTY);
*/
} }
public static FurnaceEngineModifiers get() { public static FurnaceEngineModifiers get() {