#KubeJS and let's do series
16 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
They use json for their recipes, so custom kubejs recipes are a thing
Ok do you happen to know what the code would look like to make a recipe for one of those? I am still learning
This is the best I could come up with. Its not working but also not spitting out a error msg
try it with this, may this will work:
ServerEvents.recipes((event) => {
event.custom({
type: "farm_and_charm:stove",
ingredients: [
{
item: "minecraft:porkchop"
}
],
item: "cooked_porkchop",
count: 1
});
})
Yeah, was gonna say... their json doesn't specify "result". The output is expressed as item: and count:
Ok thank you I will test that. I am not the best at understanding code but I enjoy what I can do
Yes that does work. Thank you very much. And I should be able to change that out to work on the other blocks corrent? And I would just add a comma like this item: "minecraft:porkchop", Then countine below it to add other ingredients
here can you look for the recipes
https://github.com/satisfyu/FarmAndCharm/tree/main/common/src/main/resources/data/farm_and_charm/recipes
Also could not find that github which would have helped. I looked on a couple of thier mods but couldnt find a link.
another odd question. If I am modifying block loot tables for crops how do I get it to only add drops to the crop when its fully grown?
Is there something I can put in there thats say like age 3 or fully grown or something
You might want to start a separate thread for that. Different people that know more would possibly see it
I tired asking that 2 times before and got no answers