Skip to content

Instantly share code, notes, and snippets.

@TheodoreMeyer
Created July 4, 2024 23:12
Show Gist options
  • Save TheodoreMeyer/7db3e59b64bde1b521ab54554c81e7b4 to your computer and use it in GitHub Desktop.
Save TheodoreMeyer/7db3e59b64bde1b521ab54554c81e7b4 to your computer and use it in GitHub Desktop.
mcreator procedure set to to remove blocks in a specific area. parentheses mean notes. set repeat blocks to 6 for a 6x6x6 area removed 5 for 5x5x5 and so on.
set local: sx to get entity x coordinates -2 (this can be different this means x cords -2 of enitty)
set local: sy to get entity x coordinates -2 (this can be different this means y cords -2 of enitty)
set local: sz to get entity x coordinates -2 (this can be different this means z cords -2 of enitty)
repeat _ times (do 1 time for each x set of cord)
repeat _ times (do 1 time for each y set of cord)
repeat _ times (do 1 time for each z set of cord)
if block at coordinates local:sx, local: sy, local: sz = _ block
swing main hand of entity
remove block at local:sx, local: sy, local: sz
set local sz to local: sx +1
set local sy to local: sy +1
set local sy to local: sz +1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment