Trying to load virtual recipe datapacks in ServerEvents.highPriorityData doesn't seem to have any effect. I'm still able to load jsons over default datapacks in the case for advancements but recipes, even ones that aren't loaded over existing namespaces, don't seem to work. Even though exporting them does show that they are being loaded, and moving them to kubejs/data and reloading lets them work as expected. I've also tried moving only recipe data to be passed through lowPriorityData but that doesn't seem to work either.
this is the code I tested with.
ServerEvents.highPriorityData(event => {
event.addJson("hexcasting:advancements/grant_patchi_book",
{
criteria: {
tick: {
trigger: "minecraft:tick"
}
},
rewards: {
loot: []
}
}
)
event.addJson("test:thermal",
{
"type": "thermal:press",
"ingredients": [
{
"item": "minecraft:bone_block"
},
{
"item": "thermal:press_unpacking_die"
}
],
"result": [
{
"item": "minecraft:bone_meal",
"count": 9
}
],
"energy": 400
}
)
event.addJson("test:vanilla",
{
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "minecraft:blaze_rod"
}
],
"result": {
"item": "minecrart:sugar"
}
}
)
})