Skip to content
This repository was archived by the owner on Jun 8, 2022. It is now read-only.

Redstone Power

Michael Weatherby edited this page Dec 30, 2019 · 1 revision

Gets if a block is receiving a redstone signal. Cannot detect input trapped chests.

function  du:world/blocks/is_active

execute if score $world.out_0 matches 0 run <not powered>
execute if score $world.out_0 matches 1 run <weak power>
execute if score $world.out_0 matches 2 run <strong power>
Clone this wiki locally