I'm attempting to use an ars tweak and I'm getting a kick back that highPriorityData no longer exists?
https://ars.guide/kubejs/tweaks/wilden/
#Was ServerEvents.highPriorityData changed?
10 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Try using ServerEvents.generateData instead
I've started toying with that, just have to test it a bit more to see if it's a working replacement
What does it even do?
the generateData event happens when the server loads jsons from datapacks, including the data files from each mod
It allows you to modify data json files as they are read from disk, and also allows you to add "fake" jsons that don't actually exists, which is what Firav is attempting to do here
So it’s something like data pack?
yesnt
This is what I've got currently for the generateData event, would this be correct?
ServerEvents.generateData("after_mods", event => {
spawns.forEach(([biomes, wilden]) => {
event.json(`ars_nouveau:forge/biome_modifier/${wilden}_spawn`, {
type: "forge:add_spawns",
biomes: biomes,
spawners: {
type: `ars_nouveau:${wilden}`,
maxCount: 1,
minCount: 1,
weight: 50,
},
});
});
});
Doesnt seem to be functioning like it was prior.
Does anyone have some docs I can refer to for this function?