#Extended Crafting Datapack -> Kubejs

19 messages · Page 1 of 1 (latest)

storm bobcat
#

So i've seen a few examples where you can take the datapack information of a mod and transform it into a kubejs script. so i was wondering. How would i write say this datapack json as a kubejs script?

storm stoneBOT
#

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

tawdry turtleBOT
#

Paste version of advancedcrafter.json from @pliant blade

modern arrow
#

IIRC if you install extended crafted you have builtin support from them, let me see

#

yes you do

event.recipes.extendedcrafting.shaped_table(.......)

#

use ProbeJS to have the suggestions

storm bobcat
#

okay thank you!

unreal sonnet
#

There’s an example script that adds proper tier support somewhere

#

I can’t find it

placid dawn
#

however they aren't using tier here, so for this recipe - doesn't matter

unreal sonnet
#

Mm

placid dawn
#

the example script that footer was talking about

modern arrow
#

some people just hack in tier with .merge

placid dawn
#

oh yea

#

.merge({ tier: 4 }) iirc?

modern arrow
#

yes