Hi, I got stuck making this script as I couldn't find a way to change "set {_location::*} to all blocks in radius 3 around player" to only detect cobwebs, can someone help me with that? Sorry for the bad English because I speak Spanish
Code here:
Code here:
command /cobweb:
trigger:
if player is in region "region1":
set {_location::*} to all blocks in radius 3 around player
loop {_location::*}:
if loop-value is cobweb:
set block at loop-value to air
wait 30 seconds
loop {_location::*}:
set block at loop-value to cobweb
else:
set {_location::*} to all blocks in radius 3 around player
loop {_location::*}:
if loop-value is cobweb:
set block at loop-value to air