Paste #41574: Untitled Paste

Date: 2017/04/26 00:44:47 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


BreakBlock_Task:
    type: task
    definitions: loc
    script:
    - if <def[loc].materials> == m@air {
        - queue clear
    }
    - define mat_id <def[loc].material.id>
    - modifyblock <def[loc]> air
    - playeffect <def[loc].add[0.5,-0.5,0.5]> effect:TILE_BREAK data:<def[mat_id]> quantity:30 offset:3.0
    - playsound <def[loc]> sound:DIG_STONE