
[1.20.1] Getting a warning about broken tags since I updated the mod
vizthex123 opened this issue ยท 27 comments
Issue description
Updated all the modules (main mekanism is on 10.4.16.80) and I keep getting this warning in the chat whenever i enter my world:
Edit: Making a new world does nothing to the warning.
Steps to reproduce
- Update mekanism
- Enter a world that was made before the update
Minecraft version
1.20.x or earlier (No longer being developed)
NeoForge version
Forge 47.4.0
Mekanism version
Older
Other relevant versions
No response
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
https://gist.github.com/vizthex123/226fa7c0f1724901671e3cc5505196bc
I thought i was getting somewhere but nope. ive toggled allowAsyncStreams which did partially resolve the issue, kind of? with mekanism tags but then created other issues with other mods tags???, the weird thing is no matter how hard i try to find the reason, removing kube, kubeaddons, meka addons, results in the same errors from the other mods, i dont actually think the mod matters, something is broken in the mixin launch and it's causing a conflict with the mods that are left to load last??? and im not sure the load order remains the same, removing mods and readding them in different oders produces different tag errors from other mods, botania, aetherweapons, theres even some vanilla minecraft tags that are breaking? whaaat...
the thing that i can note is that changing allowAsyncStreams to true or false doesn't actually fix any of the tag errors, the only thing that fixes it for ME regarding mekanism tags/recipes is removing https://www.curseforge.com/minecraft/mc-mods/kubejs-mekanism-unofficial from my modpack.
I have removed JEI and its addons entirly and it did not fix the erros
if people are testing these things keep in mind you can't just reload your world you have to load a new world every time.
finally i have put jei back in and turned asnyc back to true while leaving the unoffical port of kubejs out of my modpack and loading a new world and i am recieving zero errors for recipe/tags
my conclusion is that i have no idea whats causing this but i can assure you from reading what other people have done they sure as hell didn't load a new world everytime they removed a mod from their modpack. ever single resolution would not fix the issue for me I physically had to remove the kubejs-mekanism-unofficial and load a new world.
Hope this helps
I thought i was getting somewhere but nope. ive toggled allowAsyncStreams which did partially resolve the issue, kind of? with mekanism tags but then created other issues with other mods tags???, the weird thing is no matter how hard i try to find the reason, removing kube, kubeaddons, meka addons, results in the same errors from the other mods, i dont actually think the mod matters, something is broken in the mixin launch and it's causing a conflict with the mods that are left to load last??? and im not sure the load order remains the same, removing mods and readding them in different oders produces different tag errors from other mods, botania, aetherweapons, theres even some vanilla minecraft tags that are breaking? whaaat...
the thing that i can note is that changing allowAsyncStreams to true or false doesn't actually fix any of the tag errors, the only thing that fixes it for ME regarding mekanism tags/recipes is removing https://www.curseforge.com/minecraft/mc-mods/kubejs-mekanism-unofficial from my modpack.
I have removed JEI and its addons entirly and it did not fix the erros if people are testing these things keep in mind you can't just reload your world you have to load a new world every time.
finally i have put jei back in and turned asnyc back to true while leaving the unoffical port of kubejs out of my modpack and loading a new world and i am recieving zero errors for recipe/tags
my conclusion is that i have no idea whats causing this but i can assure you from reading what other people have done they sure as hell didn't load a new world everytime they removed a mod from their modpack. ever single resolution would not fix the issue for me I physically had to remove the kubejs-mekanism-unofficial and load a new world.
Hope this helps
You cannot resolve the errors unless you utilize kubejs / datapacks to resolve them given that its some kind of mod tag bug or is not getting fixed / corrected by mod devs. It is erroring since it is probably missing a tag that it requires for a recipe, or in other words "It is too strict." You can check what tags are missing in the console, it makes sense that it wouldnt happen for everyone, multiple people are having different missing tags because of differing modlists, it can be caused by missing tags or something the person who made the pack did themselves. I am using KubeJS Mekanism Unofficial and many other mods including ad astra which has missing tags. 344 Mods total and I was able to resolve them using kubejs. I also have async off because of a seperate issue, dunno if it affects mekanism either though but wouldnt be too surprised. I think this issue is pretty much resolved and should only persist to stay open if it comes to a conclusion that it would be better off to have a config to disable the scrict tagness imo. I've been using JEI, its not related to JEI, its recipe related. Also I have literally rebooted my entire game multiple times with new worlds with updated mekanism and the rest of my mods and am having zero issues. I don't know what else to tell you other than fix the errors yourself (apply the correct tags or remove the recipe) if there is not going to be a config to change it or the devs wont fix it after mentioning it to them.
That would definitely fix some of the errors, I cant imagine that it would fix every tag error due to actual missing tags, and as I said in my message I have had async disabled in kubejs (for a while now due to that forge issue.) Hopefully forge does that though..
The issue is a race condition caused by forge allowing multiple threads to register tags at the same time. Mekanism is just the one complaining about it and kubejs is causing it by registering tags asynchronously. Forge just needs to add a synchronized statement in there
KubeJS-Mods/KubeJS#1016 (comment)
There are 2 possible issues
- Actually broken tags - e.g. Ad Astra stone
- KubeJS Async weirdness that was reported to them
Neither can be determined without logs, this is why the message says to check them. It does not say to comment "me too" on an issue (not all of you are doing this, but there is a distinct lack of logs vs the number of commenters).
When you are checking your logs, you must check ALL errors, not just the one with Mekanism listing what was missing. The Mekanism lists are symptoms, not a cause.
Forge just needs to add a synchronized statement in there
Uhh, really, Kube shouldn't be doing things that cause race conditions. Otherwise it's like stabbing yourself in the foot and blaming the knife maker....
The Kube bug can happen when no recipes or tags are changed
Uhh, really, Kube shouldn't be doing things that cause race conditions. Otherwise it's like stabbing yourself in the foot and blaming the knife maker.... The Kube bug can happen when _no recipes or tags are changed
While I agree, if forge can fix it by adding one statement vs kjs doing even more jank, the former may just be easier.
something i wanted to note during my testing is that i had to create a new world every time i modified kubejs script or it just showed the same tag errors. which was a bit annoying. Turning async to false has resolved the mixin tag errors but I can't seem to make recipes for the mekanisms machines, only crafting table recipes. craziest part is that even though i left async on and i was messing around with kubejs and mekanism, i was noticing that the tags where not just breaking with meknaism, my botania tags started breaking and then aether mod started breaking? i managed to fix all of this by removing the custom edits i had for mekanism including the recipes i made and also turning async to false but that's not exactly a resolution for me even though it does actually fix the modpack tags. I am thinking this doesn't have anything to do with mekanism and it's forge mixin itself causing the trouble.
and again i have no clue why because i do have other mods that add to mekanism which do edit some of it's content so if it was the direct edit breaking the mod then the other mods would break it also, which isn't the case.
I will give this script a try today, thank you for your Vigilance
Getting the same message since i updated from
Mekanism-1.20.1-10.4.15.75.jar
to
Mekanism-1.20.1-10.4.16.80.jar
I don't have KubeJS.
Edit:
I've figured out why i was getting this. I had a look though my logs and it seems to be a conflict with a mod i added called Ad Astra. I temporally disabled Ad Astra and now the red Mekanism broken tags warning is gone.
[19:01:44] [Server thread/ERROR]: Incomplete recipe detected: mekanism:crushing/venus_sandstone_to_venus_sand
[19:01:44] [Server thread/ERROR]: Empty item ingredient: {"tag":"forge:sandstone/venus_sandstone"}
Edit:
vizthex123 for you its this i believe but not sure what to do about that.
[16:39:23] [Server thread/ERROR]: Incomplete recipe detected: mekanism:processing/tin/slurry/clean
[16:39:23] [Server thread/ERROR]: Empty tag: TagKey[minecraft:fluid / minecraft:water]
Seconding this issue - my issue is
[21:12:07] [Server thread/ERROR] [me.co.Mekanism/]: Incomplete recipe detected: mekanism:reaction/wood_gasification/logs
[21:12:07] [Server thread/ERROR] [me.co.Mekanism/]: Empty tag: TagKey[minecraft:fluid / minecraft:water]
I do also have KubeJS installed.
i still can't find anything about it in my regular logs, but KubeJS does give a lot of errors about recipes not being able to load in:
server.log
i haven't changed any mekanism recipes with KubeJS (not even crafting recipes - although i did add an alternate recipe to the Formulaic Assemblicator), so i've got no clue what's causing it. I think it's just some kind of error with mekanism's recipe files since it's only happening on this one specific version.
i did add custom tags to a few items that i use for quest objectives, but that's all i've done to mekanism with KubeJS.
You need to add the proper tags to the items with a datpack/kubejs if the mod developers have not. I did that in my modpack to fix all of the missing tags and the issue went away permanently. Most of these are due to mods not properly adding tags to their items. Feel free to correct me otherwise as there may be some special cases, but im going off of personal experience with updating mekanism.
tldr: ad astra and some other mods are missing some tags, add them manually and/or tell the developers about their said missing tags.
example with kubejs:
ServerEvents.tags('item', event => { event.add('forge:sandstone/venus_sandstone', 'ad_astra:venus_sandstone') })
This resolves the issue for the sandstone
ugh, i've got too much experience fixing everyone's broken tags lol (haven't found any from mekanism though, so that's nice).
I don't think the issue is solely on mods missing tags on their items - for example, mine is that the water tag built into Minecraft is empty, which is clearly not the case
yeah, i think this is being caused by mekanism's missing tag finder-inator being a bit too strict.
also getting this issue on a different instance i use to update my texture pack:
https://gist.github.com/vizthex123/baec3c201d7c8076e73ebc1cd7cd8bdf
The warning is Mekanism. The causes are other mods.
As astra does have a broken recipe in a version many are using.
Kubejs also seems to leave things in a broken state when the check runs
I am having the same issue with Mekanism and Ad Astra. From what I can find, no recipes are actually incorrect. Ad Astra propably adds some compatibility recipe that triggers this.
I am having the same issue with Mekanism and Ad Astra. From what I can find, no recipes are actually incorrect. Ad Astra propably adds some compatibility recipe that triggers this.
nah, this is from mekanism. It was added in the update that has this issue, but it seems like it either wasn't fully tested or isn't working as anticipated for end users.
You need to add the proper tags to the items with a datpack/kubejs if the mod developers have not. I did that in my modpack to fix all of the missing tags and the issue went away permanently. Most of these are due to mods not properly adding tags to their items. Feel free to correct me otherwise as there may be some special cases, but im going off of personal experience with updating mekanism.
tldr: ad astra and some other mods are missing some tags, add them manually and/or tell the developers about their said missing tags.
example with kubejs:
ServerEvents.tags('item', event => {
event.add('forge:sandstone/venus_sandstone', 'ad_astra:venus_sandstone')
})
This resolves the issue for the sandstone
I don't think the issue is solely on mods missing tags on their items - for example, mine is that the water tag built into Minecraft is empty, which is clearly not the case
As an update, every time I launch my pack a different recipe is broken - I think this might be caused by some kind of race condition in that the check is being ran before tags are fully populated.
I can confirm that we also have this happen AllTheMods/All-the-mods-9-Sky#865 There's no apparent cause for it, it sometimes resolves itself after a restart and sometimes not, some people have it some others don't, so a race condition doesn't seem to far fetched
Kubejs is the cause KubeJS-Mods/KubeJS#1016
Kubejs is the cause KubeJS-Mods/KubeJS#1016
this doesnt explain it for those who aren't using Kubejs at all...
You need to add the proper tags to the items with a datpack/kubejs if the mod developers have not. I did that in my modpack to fix all of the missing tags and the issue went away permanently. Most of these are due to mods not properly adding tags to their items. Feel free to correct me otherwise as there may be some special cases, but im going off of personal experience with updating mekanism.
tldr: ad astra and some other mods are missing some tags, add them manually and/or tell the developers about their said missing tags.
example with kubejs:ServerEvents.tags('item', event => { event.add('forge:sandstone/venus_sandstone', 'ad_astra:venus_sandstone') })
This resolves the issue for the sandstone
ugh, i've got too much experience fixing everyone's broken tags lol (haven't found any from mekanism though, so that's nice).
I don't think the issue is solely on mods missing tags on their items - for example, mine is that the water tag built into Minecraft is empty, which is clearly not the case
yeah, i think this is being caused by mekanism's missing tag finder-inator being a bit too strict.
will this work with crafttweaker?
Kubejs is the cause KubeJS-Mods/KubeJS#1016
this doesnt explain it for those who aren't using Kubejs at all...
Then those have actually broken tags
I want to add that I was able to "fix" this by setting "allowAsyncStreams" to false in the KubeJS common config file, I only discovered this as I was having a similar issue with errors between SilentGear and KubeJS and that was mentioned as a solution in their discord, seems to have fixed both for me.
This is still present on 1.21.1 using NeoForge version 21.1.206 and Mekanism version Mekanism-1.21.1-10.7.15.81
Here I have reloaded several times, to test if a datapack could overwrite this, but it didnt work :(
I also tried to sync the preferred ores order in severel configs (almost unified, immersive engineering and productive bees). This also did not fix the issue.
KubeJS is not present.
The same Tags (here c:ingots/tin, c:ingots/silver and c:ingots/bronze) are affected on multiple singleplayer worlds as well as on our server.
Broken tags cannot be fixed by a datapack. you need to read the errors in the log and report to the responsible mod. In the meantime, you can try installing Load My F***ing Tags to prevent the whole tag breaking due to one invalid entry.
Mekanism's warning is a symptom not the cause
[30Aug.2025 15:23:58.665] [Worker-ResourceReload-13/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag supplementaries:globes as it is missing following references:
supplementaries:sepia_globe (from mod/supplementaries)
[30Aug.2025 15:23:58.694] [Worker-ResourceReload-5/INFO] [org.zeith.hammerlib.HammerLib/]: Built tags for registry minecraft:item
[30Aug.2025 15:23:58.733] [Worker-ResourceReload-5/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag c:ingots/silver as it is missing following references:
magistuarmory:silver_ingot (from mod/magistuarmory)
[30Aug.2025 15:23:58.735] [Worker-ResourceReload-5/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag c:blood_bottle as it is missing following references:
#forge:blood_bottle (from mod/butcher)
[30Aug.2025 15:23:58.735] [Worker-ResourceReload-5/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag forge:blood_bottle as it is missing following references:
#c:blood_bottle (from mod/butcher)
[30Aug.2025 15:23:58.736] [Worker-ResourceReload-5/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag c:ingots/tin as it is missing following references:
magistuarmory:tin_ingot (from mod/magistuarmory)
[30Aug.2025 15:23:58.736] [Worker-ResourceReload-5/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag c:ingots/bronze as it is missing following references:
magistuarmory:bronze_ingot (from mod/magistuarmory)
[30Aug.2025 15:23:58.744] [Worker-ResourceReload-5/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag supplementaries:globes as it is missing following references:
supplementaries:sepia_globe (from mod/supplementaries)
[30Aug.2025 15:23:58.746] [Worker-ResourceReload-5/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag butcher:butcher_enchantable as it is missing following references:
#forge:axes (from mod/butcher)
#forge:bows (from mod/butcher)
#forge:trident (from mod/butcher)
[30Aug.2025 15:23:58.752] [Worker-ResourceReload-5/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag mekanism:muffling_center as it is missing following references:
#c:ingots/tin (from mod/mekanism)
[30Aug.2025 15:23:58.756] [Worker-ResourceReload-5/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag c:ingots as it is missing following references:
#c:ingots/silver (from mod/occultism)
#c:ingots/tin (from mod/mekanism)
#c:ingots/bronze (from mod/mekanism)
#c:ingots/silver (from mod/immersiveengineering)
#c:ingots/tin (from mod/projectred_exploration)
#c:ingots/silver (from mod/projectred_exploration)
[30Aug.2025 15:23:58.757] [Worker-ResourceReload-5/ERROR] [net.minecraft.tags.TagLoader/]: Couldn't load tag silentgear:greedy_magnet_attracted as it is missing following references:
#c:ingots (from mod/silentgear)