Paste #11936: Untitled Paste

Date: 2014/12/08 18:16:29 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


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