How do I save the location of the block but then it could not be destroyed?
Here is the script but it does not work. I don't know how to fix it
on break:
{crates::NAME::locations*} is set
{crates::NAME::locations*} contains location of event-block
add 1 to {crates::NAME::progress}
cancel event
# play sound
command /crate <string>:
trigger:
add location of target block to {crates::%argument 1%::locations::*}
message "added crate %argument 1%"