Minecraft Command? - 3

St
4

Is there a command that detects when the player has removed a block?

ja

/ execute if block ~ ~ ~ minecraft: air run / do something

So instead of ~ ~ ~ stop the coordinates of the block and instead of doing something stop a command that should happen when the block is dismantled… So e.g. Check whether the block is dismantled at -20 100 -10 then dismantled would say:

/ execute if block -20 100 -10 minecraft: air run say dismantled

gl

Which block?

St

No matter which block

St

Hi there's also a command that controls an area of blocks and can see if a block has been removed in this area?