Jump to content

Recommended Posts

Posted (edited)

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 by InvictusSlayer
Fixed class name from DatapackBuiltinRegistriesProvider
  • InvictusSlayer changed the title to [1.20.4] Missing DatapackBuiltinEntriesProvider
  • 2 weeks later...
Posted (edited)

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 by deddybones
fixing link
Posted

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!

Posted

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.