Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /bapple:
- description: Crafts a bloody apple for you.
- usage: /gapple
- trigger:
- if player has 8 redstone blocks and 1 head:
- remove 8 redstone blocks and 1 head from the player
- drop 1 apple named "&c&lBloody apple" at the player
- message "&fYou have just made a &cbloody apple&7!"
- else:
- message "&fYou do not have the correct amount of materials"
- stop
- on consume of apple:
- if name of player's tool is "&c&lBloody apple":
- if max health of player is 20:
- cancel the event
- give the player 1 apple named "&c&lBloody apple"
- message "&fYou have maxed out your health!"
- stop
- add 2 to the player's max health
Advertisement
Add Comment
Please, Sign In to add comment