Paste #76271: NpcMove

Date: 2020/10/09 03:47:28 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7


#NPC moves to target location after marking it with a carrot
NPCWalk:
    type: world
    events:
        on player right clicks:
        - if <player.item_in_hand.material.name> == carrot:
            - walk <player.cursor_on> <server.spawned_npcs_flagged[miner].get[1]>