Advertisement
Guest User

Untitled

a guest
Oct 17th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. on load:
  2. register new shapeless recipe for golden apple item named "&6Golden Head" using Gold ingot, Gold ingot, Gold ingot, Gold ingot, player head, Gold ingot, Gold ingot, Gold ingot, Gold ingot
  3.  
  4. on eat of golden apple:
  5. if name of player's tool contains "&6Golden Head":
  6. remove regeneration from player
  7. remove absorption from player
  8. apply regeneration 2 to the player for 10 seconds
  9. stop
  10.  
  11. Options:
  12. arrowhealth : &a%victim% &6is now at&a%health of victim% &4♥
  13.  
  14. on damage of player:
  15. wait 1 tick
  16. attacker is a player:
  17. projectile exists
  18. if projectile is arrow:
  19. wait 1 tick
  20. victim is not dead:
  21. message "{@arrowhealth}" to the attacker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement