Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on load:
- 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
- on eat of golden apple:
- if name of player's tool contains "&6Golden Head":
- remove regeneration from player
- remove absorption from player
- apply regeneration 2 to the player for 10 seconds
- stop
- Options:
- arrowhealth : &a%victim% &6is now at&a%health of victim% &4♥
- on damage of player:
- wait 1 tick
- attacker is a player:
- projectile exists
- if projectile is arrow:
- wait 1 tick
- victim is not dead:
- message "{@arrowhealth}" to the attacker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement