![Lazy DataFixerUpper(LazyDFU) [FORGE]](https://media.forgecdn.net/avatars/thumbnails/359/41/256/256/637520662016454676.png)
[1.16.4]{Forge} Modpack will not load when this is added
ProsperCraft opened this issue ยท 7 comments
Modpack- TownCraft TWO for 1.16.5 version .31
https://gist.github.com/ProsperCraft/3f700566027d2aa280234f0dc1765065
if youre using create, like literally just default create without any of the addons, its completely incompatible and a fix is not planned for the older versions any time soon as its a non issue on new versions. it causes a render thread crash with both create and lazydfu installed solo
Looking at the logs, it could be RandomPatches with their fake data fixer which can break structure mods/datapacks
[26Mar2021 12:25:40.964] [modloading-worker-8/ERROR] [structurize/]: -----------------------------------------------------------------
Invalid DataFixer detected, schematics might not paste correctly!
The following DataFixer was added: class com.therandomlabs.randompatches.util.FakeDataFixer
-----------------------------------------------------------------
Do you have DataFixerSlayer on or anything else that messes with DataFixerUpper?
Interesting, so is this doing the same as your mod? are there advantages to disabling the option in Randompatches and using yours?
I do not know what's random patches does but from the name, it sounds like they disable DFU by replacing it with an empty one.
Doing so may break the structure nbt files from some mods or datapacks if their structure files are still using an old format. DFU is able to convert them into the newer format on the fly and allow their structures to spawn. But with mods that disable or replace DFU, the other mods/datapack's files cannot get updated and so, those structures or datapacks implodes and doesn't work.
I just had to deal with this myself as DataFixerSlayer, which disabled DFU, made my mod's structure compat datapack break and my swamp village to not spawn anything.
LazyDataFixerUpper aims to simply delay the DFU until it actually needed. That way you still get the faster start time since DFU takes a bit of time to run. But when the games hits a file that needs to be updated, LazyDataFixerUpper will then allow DFU to run and update the files so that nothing breaks.