#Custom Food
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
what does the advancement look like?
of which one? eat_blue_berries.json or blue_berries.json
Presumably eat_blue_berries
the one that calls the function
Yep, looks like the correct path would be custom_food:crafted/eat_blue_berrie
k ill try now
ty
im sure that fixed something but still doesnt work :(
you want me to show another file?
it still has the properties of a normal cookie
What does the other advancement do?
Probably more useful for us to see is the NBT of the Blue Berry item
which file has that?
Wheever you have the NBT of the blue berry item 😅
Is it obtained through a loot table? Just a /give command?
OK, so the nbt of your cookie give command does not contain the data that your advancement criteria is looking for
oh
Which is food:\"blue_berrie\"
No, what is blue_berrie.json
You need to put that in the NBT of your give command, this right here
Sure
where do I have to add it?
in tags?
give @a cookie{CustomModelData:1060001,"nbt": "{food:"blue_berrie"}",display:{Name:'[{"text":"Blue Berrie","italic":false}]'}} 1
give @a cookie{CustomModelData:1060001,blue_berrie:1,display:{Name:'[{"text":"Blue Berrie","italic":false}]'}}
just blue_berrie:1
oh ok
If you do this you need to change it in your advancement too
so here i need to put "nbt": "{food:"blue_berrie:1"}" ?
no.
You can put exactly what was written here
"nbt":"{blue_berrie:1}"
k
And then this is what will go in your advancement, yes


Your question, #1203437409954431017 (Custom Food), was resolved!
I made a datapack that gives you a custom food with a custom recipe, the problem is that it should give me some effects but its not working
28m
Re-opened the channel. Make sure to close it again once you're done.
oops
Your question, #1203437409954431017 (Custom Food), was resolved!
I made a datapack that gives you a custom food with a custom recipe, the problem is that it should give me some effects but its not working
28m
This thread has been inactive for some time, so I'm going to archive it.
If you're still using the thread, just send a message and it'll pop back on the thread list.
This thread has been inactive for some time, so I'm going to archive it.
If you're still using the thread, just send a message and it'll pop back on the thread list.