- D1 Meta Docs - Denizen Script -
Home Page / Pi to one million places / Contact mcmonkey / Donate / Paste Scripts / Denizen Help /
You are browsing as a guest.
Login | Register


Click here to create your own public paste ~ ~ click to duplicate and edit this paste


TitleThe inventory allows them to still take my the menu
TypeDenizen Script
Date2019/08/15 14:59:17 UTC-07:00
ByGuest
Other
Paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
3300
my_inventory_menu:
    type: inventory
    title: My Inventory Menu
    size: 27 
    slots:
    - "[] [] [] [] [] [] [] [] []"
    - "[] [] [] [i@my_inventory_menu_slot12] [] [] [] [] []"
    - "[] [] [] [] [] [] [] [] []"
    
my_inventory_menu_slot12:
    type: item
    material: red_wool
    display name: Diamond
                   

inventorychange_command:
    type: command
    debug: false
    name: inventorychange
    usage: /inventorychange
    description: Makes an NPC execute commands!
    script:
        - narrate "Opening GUI"
        - inventory open d:in@my_inventory_menu
        my_inventory_menu_handler:
            events:
                on player clicks in my_inventory_menu:
                    - determine cancelled
                on player drags in my_inventory_menu:
                    - determine cancelled
                on player clicks my_inventory_menu_slot12 in my_inventory_menu:
                    - narrate "Hey"



RawRaw



Pastes made: 62777