Posted January 7, 20241 yr I'm currently updating my mod from 1.20.2 to 1.20.4 and the forge `DatapackBuiltinEntriesProvider` class is missing. I've looked through the forge source files for an alternative and I'm struggling to find one. I have also tried using different forge versions (49.0.0 to 49.0.14) and they are all missing it. As far as I am aware this is the only missing java class and there is no mention of it in the forge changelogs. If anyone has an idea how to fix this or any suggestions what to do next before making a bug report. Edited January 7, 20241 yr by InvictusSlayer Fixed class name from DatapackBuiltinRegistriesProvider
January 21, 20241 yr It appears this was in-error, you can find the file has been deleted in a commit. It is planned to be re-added soon: https://github.com/MinecraftForge/MinecraftForge/pull/9848 https://github.com/MinecraftForge/MinecraftForge/pull/9848/files/13785854f678a08c7c43c6953bddc3d619013d11 In the meantime, you can reconstruct the class contents: https://github.com/MinecraftForge/MinecraftForge/pull/9848/files/13785854f678a08c7c43c6953bddc3d619013d11#diff-54d34c579bf88853bc427e7c0137d9dad58856f4ce9372a7cf342f3c898e387f Edited January 21, 20241 yr by deddybones fixing link
January 25, 20241 yr As an update on this - I was able to use reconstructed classes to add ores in, fully functioning. I did need to reconstruct the RegistrySetBuilder, RegistryPatchGenerator, and DatapackBuiltinEntriesProvider though. Good luck!
January 25, 20241 yr Author Thanks so much! I managed to get it working for all vanilla registries with only reconstructing the DatapackBuiltinEntriesProvider. It doesn't work for forge registries like BiomeModifiers and StructureModifiers but they aren't too much hastle to write manually so I've just removed them from my builder temporarily.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.