Paste #47287: Untitled Paste

Date: 2018/04/29 11:18:46 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17


relic:
  type: item
  display name: <&6>Relic
  material: fireball[flags=HIDE_ATTRIBUTES|HIDE_ENCHANTS;enchantments=ARROW_DAMAGE,1]
  lore:
  - <&8>- Right-click to open
  - <&8>- and recieve a reward!

right_click:
  type: world 
  events: 
  on player right clicks <item.relic>:
  random:
  - execute as_op "give <player.name> diamond_helmet 1"
  - execute as_op "give <player.name> diamond_chestplate 1"
  - execute as_op "give <player.name> diamond_leggings 1"
  - execute as_op "give <player.name> diamond_boots 1"