This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I am working on an adventure map and I need a command that will test if a block is being powered by redstone, anyone know of something like such?
I tried googling it and nothing came up except dumb stuff about /testfor
You can detect powered redstone using this command:
/execute if block <x> <y> <z> minecraft:redstone_wire[power=15] run ...
change the power level to match the level of your redstone when it is activated and the command will detect it.
Command block engineer // Developer // #TeamTrees
I am working on an adventure map and I need a command that will test if a block is being powered by redstone, anyone know of something like such?
I tried googling it and nothing came up except dumb stuff about /testfor
You can detect powered redstone using this command:
change the power level to match the level of your redstone when it is activated and the command will detect it.
Command block engineer // Developer // #TeamTrees