Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick holding a enchanted book:
- if name of player's tool is "&e&lヒール&r&6&l/&e&lフードヒール":
- {%player%::c} is not set
- player's level progress is larger than 0.15
- heal the player by 1.5
- show 20 heart particles at player offset by 0.8, 0.8, 0.8 with speed 0.5
- play sound "entity.player.levelup" with volume 10 and pitch 1 at player for players in radius 10 of player
- reduce the player's level progress by 0.15
- on leftclick holding a enchanted book:
- if name of player's tool is "&e&lヒール&r&6&l/&e&lフードヒール":
- {%player%::c} is not set
- player's level progress is larger than 0.03
- add 1 to player's food level
- show 13 note particles at player offset by 0.8, 0.8, 0.8 with speed 1
- play sound "entity.player.burp" with volume 10 and pitch 1 at player for players in radius 10 of player
- reduce the player's level progress by 0.03
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement