Hi
i have 2 problems im trying to solve, im trying to create custom food items for my server but im having trouble with the line "remove 1 player head named "<gold><b>Honey" from player" the skript will work as intended but will not remove the item i right clicked from my inventory
the second problem is I want to increase the players hunger bar by 8 instead of just setting the food bars level but i have no idea how to do this
any help would be appreciated, thanks!
i have 2 problems im trying to solve, im trying to create custom food items for my server but im having trouble with the line "remove 1 player head named "<gold><b>Honey" from player" the skript will work as intended but will not remove the item i right clicked from my inventory
the second problem is I want to increase the players hunger bar by 8 instead of just setting the food bars level but i have no idea how to do this
code_language.skript:
On rightclick:
if name of held item of player is "<gold><b>Honey":
play ENTITY GENERIC EAT at player with pitch 1
set the player's food level to 8
remove 1 player head named "<gold><b>Honey" from player
any help would be appreciated, thanks!