Paste #69566: check for click

Date: 2020/05/25 07:14:40 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7


check_for_click:
    type: world
    events:
        on player right clicks item_frame:
        - define item <EntityTag.framed_item>
        - narrate "you picked: <def[item]>"
        - determine cancelled