Date: 2017/04/26 00:44:47 UTC-07:00
Type: Denizen Script
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