Hi! So I am writing a code right now that should give a player potion effects when eaten
Code:
on eat a carrot named "&cBlaze carrot":
apply potion of strength of tier 1 to player for 1000000000000000000 seconds
apply potion of regeneration of tier 1 to player for 1000000000000000000 seconds
apply potion of fire_resistance of tier 255 to player for 100000000000000000 seconds
apply potion of health_boost of tier 4 to player for 10000000000000000 seconds
when i run this however, it comes up with a error saying "Couldnt understand event on eat a carrot named "&cBlaze carrot"
Could this please be explained to me? Either comment under this thread or add me on Discord with The Last Cat Boy#5556 and help me please!
Thanks!
Code:
on eat a carrot named "&cBlaze carrot":
apply potion of strength of tier 1 to player for 1000000000000000000 seconds
apply potion of regeneration of tier 1 to player for 1000000000000000000 seconds
apply potion of fire_resistance of tier 255 to player for 100000000000000000 seconds
apply potion of health_boost of tier 4 to player for 10000000000000000 seconds
when i run this however, it comes up with a error saying "Couldnt understand event on eat a carrot named "&cBlaze carrot"
Could this please be explained to me? Either comment under this thread or add me on Discord with The Last Cat Boy#5556 and help me please!
Thanks!