Shields cannot be eaten when they have a food component
A shield with a food component cannot be eaten. Instead the shield is used as normal.
Purposely overwriting the shield block behavior with a food component should work in my opinion.
/give @s minecraft:shield[minecraft:food={nutrition:1, saturation_modifier:1}]
2024-03-21, 03:44 AM
2024-03-27, 08:23 AM
2024-03-27, 08:23 AM
2
3
-