Paste #14086: example

Date: 2015/02/27 19:33:42 UTC-08:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9


mybackpackpworld:
    type: world
    events:
        on player right clicks with i@mybackpack:
            - inventory open d:in@<player.name>_player_mybackpack
        on player places item:
            - if <e@entity.item_in_hand> == i@mybackpack {
              - cancel
              }