Paste #107114: Unnamed Denizen Script Paste

Date: 2023/03/09 13:08:13 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


trigger_testrun:
    type: task
    debug: true
    script:
        - spawn zombie <player.location> save:spawned_mob
        - define mob <entry[spawned_mob].spawned_entity>

        - wait 1t
        - if !<[mob].exists> || !<[mob].is_spawned>:
            - stop

        - define type HAND
        - equip <[mob]> <[type]>:<item[iron_sword]>