Paste #61926: better?

Date: 2019/11/10 19:25:44 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17


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