Well this should create a dead horn coral fan, but it does it with waterlogged: true, I need it to create one without water but I don't know how.
sorry for my bad english
Code:
on right click on dead fire coral fan:
set the player's food level to player's food level + 3
set event-block to dead horn coral fan
play sound "entity.generic.eat" at volume 2 at pitch 1 at event-block to all players
wait 15 minutes
set event-block to dead fire coral fan
sorry for my bad english