#How to add a component to an item after it already exists
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
You can use item modifiers
the documentation on those is a bit confusing, how would i format it to modify a specific component?
Like this:
{
"function": "minecraft:set_components",
"components": {
"minecraft:food": {
"nutrition": 0,
"saturation": 0
}
}
}
i see
thank you!
Except replace the values with whatever data you want
let me try it out and then i'll mark this resolved
i may be a fool
i am in 1.20.6
well i'll resolve it anyways
Your question, #1249108563389972543 (How to add a component to an item after it already exists), was resolved!
#1249108563389972543 message
16m
1.21 is coming out next week though so you can make it then
Re-opened the channel. Make sure to close it again once you're done.
Your question, #1249108563389972543 (How to add a component to an item after it already exists), was resolved!
#1249108563389972543 message
16m