fire_spread_handler: type: world events: # Only allow blocks flagged with fire_spread_block to be broken by fire on block burns: - if : - modifyblock fire - wait 2.5m - modifyblock - stop - determine cancelled after block ignites: - if ! && ! && ! && ! && ! && !: - announce "noflagged bklock" - modifyblock air - stop - foreach as:face: - define vec <[face].proc[faces_to_normal_vec]> - if !].has_flag[fire_spread_block]>: - define no_fire_faces:->:]> # If all the faces arent connected to a fire block, stop - if <[no_fire_faces].size||-1> == : - announce "noflagged bklock22" - modifyblock air