could anyone help me fix or add a feature so the blocks in the 3x3 area cant be bedrock or like any other block you cant break normally bc rn i can break every block
on mine:
if {item::drill} is set:
if player's tool is {item::drill}:
set {_1} to location of event-block
set {_2} to location of event-block
if player's pitch is between -50 and 50:
add 1 to y-coordinate of {_1}
subtract 1 from y-coordinate of {_2}
if player's horizontal facing is west or east:
add 1 to z-coordinate of {_1}
subtract 1 from z-coordinate of {_2}
loop blocks within {_1} to {_2}:
break loop-block naturally using player's tool
else if player's horizontal facing is north or south:
add 1 to x-coordinate of {_1}
subtract 1 from x-coordinate of {_2}
loop blocks within {_1} to {_2}:
break loop-block naturally using player's tool
else:
add 1 to x-coordinate of {_1}
add 1 to z-coordinate of {_1}
subtract 1 from x-coordinate of {_2}
subtract 1 from z-coordinate of {_2}
loop blocks within {_1} to {_2}:
break loop-block naturally using player's tool