#(client/server/startup)_script or data?

8 messages · Page 1 of 1 (latest)

warm flame
#

So trying to get into kubejs by looking at other mod and I see that they also heavily use de data folder in kubejs so when sould it be use or when you we use (client/server/startup)_script insted

quasi kettleBOT
#

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

slow pike
#

when do you want

#

thats up to u

warm flame
#

so is there a diferance between them?

slow pike
#

there is no rule for it. You can do everything datapack if you prefer that

#

scripts offers more functionality compared to datapacks. As scripts use Javascript you have loops, variables and can share code between scripts. Replacing all sticks in recipes with nether_star would be just a few lines in scripts. But for datapacks you would need to replace all recipes where sticks are used (either manually or not)

warm flame
#

oh ok thx that is what i wanted to know