Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /test:
- trigger:
- set {_x} to chest with 3 rows named "&6Test"
- set slot 0 of {_x} to stone of efficiency 5 named "Test" with lore "Kliknij"
- open {_x} to player
- on inventory click:
- if inventory name of player's current inventory is "&6Test":
- if clicked slot is smaller than 0:
- stop
- cancel event
- if clicked slot is 0:
- close player's inventory
- send "Kliknales w klocek."
- give diamond to player
Advertisement
Add Comment
Please, Sign In to add comment