Date: 2019/11/10 19:25:44 UTC-08:00
Type: Denizen Script
SpiderQueen:
type: task
debug: true
script:
- repeat 3:
#- push llama_spit origin:<npc.eye_location> destination:<player.eye_location> duration:2s ignore_collision npc:51
- shoot falling_block,cobweb origin:<npc.location> destination:<player.eye_location> speed:1.5 script:entrap npc:<npc[51]> save:testing
- wait 1s
entrap:
type: task
debug: true
script:
- define cube1:<cuboid[<[location].add[1,1,1]>|<[location].add[-1,-1,-1]>]>
- define randomairloc:<[cube1].blocks[air].random[3]>
- ModifyBlock <[randomairloc]> cobweb