#Farmer's Delight Chance Recipes
41 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Item.of().withChance()
How would I incorporate this?
Doesn't seem like it'd fit the general layout at all.
Unless it replaces item: ?
Oh, maybe this won't work
Farmer's Delight JSON may not support this, but you can try
Yeah FD recipes here use a different layout
So I'm not sure how to go about it
Might just have to make a data pack
result: [
Item.of('kubejs:latex').withChance(0.75).toJson()
]
Try that
That won't change anything, easier to use event.custom anyway. Multiple recipes per file too
It is easier yeah but if this doesn't work it'll probably be the only way
Will change it because I can just directly add a Farmer's Delight recipe instead of trying to implement it via KubeJS
Testing what you sent, 1 sec.
What's wrong with KubeJS scripting? You can still use it for whatever you want
If it doesn't work this way, it doesn't work at all
Farmer's Delight JSON may not be setup to do Chance
So it won't matter
It is. Lol
That's why I'm saying it'd be easier to do it that way
What you sent does not work and I tried a few adjustments to test and those did not work either
Yeah I wasn't sure. Sorry for the inconvenience
All good!
If there are any existing recipes that show with Chance, you can look through their code on Github for it and check the json
I would assume something like this should work, but it does not
It reloads without errors but the recipe then doesn't work at all
You include chance in the same curvy braces
There ya go
Yep thats right
No probs, have a good evening
You too! 😄
👋