Date: 2014/12/08 18:16:29 UTC-08:00
Type: Denizen Script
fallingblocks:
type: task
debug: true
script:
- foreach <cu@<player.flag[cuboid_pos_1]>|<player.flag[cuboid_pos_2]>.get_blocks> {
- if li@m@air|m@stationary_water|m@water !contains <%value%.material> {
- run fallingblocks1 def:%value%
}
}
fallingblocks1:
type: task
debug: true
script:
- ^spawn falling_block,<%1%.material.name> %1% save:1
- ^modifyblock %1% air