Paste #19516: Untitled Paste

Date: 2015/08/18 18:49:49 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11


bomb:
  type: world
  events:
    on entity explodes:
    - define blocks <context.blocks.alphanumeric>
    - define materials <def[Blocks].parse[material]>
    - wait <util.random.decimal[1].to[3]>
    - foreach %blocks% {
        - modifyblock <%value%> <def[materials].get[<def[loop_index]>]>
        - wait 1t
        }