#usable item using minecraft:food

1 messages · Page 1 of 1 (latest)

nocturne hinge
#

trying to make an item usable by giving it the minecraft:food component, but by doing it this way you can "eat" the item by holding right click, which will play a burp noise after eating it.

someone also mentioned it being possible to use "minecraft:on_use" to make an item usable, but i havent been able to figure out how.

if anyone knows how to properly do the food method or knows any other method, help would be greatly appreciated!

violet pivot
nocturne hinge
#

i tried that, if i add only use_modifiers, query.is_using_item doesnt get triggered when i right click

violet pivot
nocturne hinge
#

trying to make an item that plays an animation on the player and shoots a projectile/particle when right click is pressed

violet pivot
#

The other method i have is using #1067535382285135923 then play an animation on the player

nocturne hinge
#

just tried that query, doesnt seem to work