#KubeJS and let's do series

16 messages · Page 1 of 1 (latest)

elfin hemlock
#

Does anyone know if KubeJS can interact with the Let's do farming series. Mostly the stove,roaster and cooking pot.

narrow kestrelBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

tacit stratus
#

They use json for their recipes, so custom kubejs recipes are a thing

elfin hemlock
elfin hemlock
mild coyote
#

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
    });
})
tacit stratus
#

Yeah, was gonna say... their json doesn't specify "result". The output is expressed as item: and count:

elfin hemlock
#

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

mild coyote
elfin hemlock
#

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

tacit stratus
#

You might want to start a separate thread for that. Different people that know more would possibly see it

elfin hemlock
#

I tired asking that 2 times before and got no answers