i have this long annoying code and it works but it looks like a 5 year old made it
Code:
on mine of any ore:
player is sneaking:
if event-block is iron ore:
cancel event
loop blocks in radius 2 around event-block:
if loop-blocks is iron ore:
loop blocks in radius 2 of loop-blocks:
if loop-block-2 is iron ore:
break event-block using player's tool
break loop-blocks-2 using player's tool
loop blocks in radius 2 of loop-block-2:
if loop-block-3 is iron ore:
break loop-block-3 using player's tool
loop blocks in radius 2 of loop-block-3:
if loop-block-4 is iron ore:
break loop-block-4 using player's tool
loop blocks in radius 2 of loop-block-4:
if loop-block-5 is iron ore:
break loop-block-5 using player's tool
loop blocks in radius 2 of loop-blocks-5:
if loop-blocks-6 is iron ore:
break loop-blocks-6 using player's tool
loop blocks in radius 2 of loop-blocks-6:
if loop-blocks-7 is iron ore:
break loop-blocks-7 using player's tool
loop blocks in radius 2 of loop-blocks-7:
if loop-blocks-8 is iron ore:
break loop-blocks-8 using player's tool
loop blocks in radius 2 of loop-blocks-8:
if loop-blocks-9 is iron ore:
break loop-blocks-9 using player's tool
loop blocks in radius 2 of loop-blocks-9:
if loop-blocks-10 is iron ore:
break loop-blocks-10 using player's tool