KubeJS (Old)

KubeJS (Old)

3M Downloads

[Bug] Datapacks aren't loading

evanbones opened this issue ยท 6 comments

commented

Minecraft Version

1.18.2

KubeJS Version

kubejs-forge-1802.5.1-build.333

Rhino Version

rhino-forge-1801.1.9-build.135

Architectury Version

4.1.44

Forge/Fabric Version

40.0.49

Describe your issue

As the title states, KubeJS datapacks simply don't work. I made a "data" folder in the KubeJS folder and placed my data folders in there, and they weren't loaded in-game.

Crash report/logs

No response

commented

Can you please give us a couple more details, such as log files, your scripts, the overall file structure, etc.?

There isn't a lot to go off of here

commented

Cannot reproduce when using vanilla advancements as an example, I think it's better to double-check your datapack, as some datapack may not be compatible when transferring between versions.

image

image

commented

Can not reproduce with loot tables because they work for me in 1.18.2.

commented

I am able to reproduce this, but only with worldgen data. Any other data loads fine
I suspect KubeJS may be loading the data too late.

commented

Ah, yes, it's only worldgen datapacks that are affected. Loot tables and advancements work just fine

commented

Test datapack for reproducing:
data.zip
If you load it on world creation using the datapacks button it works, the sky is green, the world is a single biome with no features and white wool has the block tag minecraft:floof.
image

If you unzip it and copy the contents of the data folder to the kubejs data folder, then make a new world the worldgen components do not work, but white wool does get the block tag minecraft:floof.