mojira.dev
MC-271146

The command does not work, even though everything is set up correctly

This command does not work:

/give @p netherite_hoe[unbreakable={},rarity="epic",enchantments={levels:{"minecraft:efficiency":255,"minecraft:fortune":255,"minecraft:mending":1,"minecraft:unbreaking":255}},enchantment_glint_override=true,food={nutrition:2,saturation:0.1,eat_seconds:64}] 1

Comments 5

It's too long to fit in the chat box. Try putting it in a command block.

@unknown Still doesn't seem to work.

This command works if put into a command block. It is too long to fit into chat which is why it wasn't working for you.

It says malformed 'minecraft:food' component: 'No key eat_sound in MapLike[{eat_seconds:64,nutrition:2,}]

Oh, sorry for the noise. Maybe you need to add the eat_sound then?

edit: The command did actually work for me though... So sorry for even more noise I guess.

CaptainFlame54

(Unassigned)

Unconfirmed

Commands

1.20.5

Retrieved