Food won't be eaten when the component food.eat_seconds is less than 0.05
Use this command:
/give @s minecraft:diamond[minecraft:food={nutrition:1,saturation_modifier:0,eat_seconds:0.049,can_always_eat:true}] 64
when food.eat_seconds <0.05,the food won't be eaten
when food.eat_seconds ≥0.05,it will be eaten
2024-03-21, 02:33 PM
2024-08-21, 10:18 AM
2024-08-21, 10:18 AM
10
6