-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Datapack Registry Callbacks #1158
Comments
Could you provide more information? What do you mean by 'modify data registries'? Like add entries to it? Modify existing objects like biomes? Something else entirely? |
I believe the 1.20.2 Registry Rework has a ModifyRegistryEvent that only applies to Builtin Registries. In that event, you can add a callback to each time an object is added to that registry. It would be particularly useful to do so with datapack registries, as the hook for that is particularly more hidden and should be handled by the API. |
Found some discussion around it being done at a later date according to this comment in the PR. |
Ah, I'm guessing that's because the datapack registries are added during level load. I don't see any difficulty in adding another event around where Someone just needs to create the PR for it. |
Unless I am mistaken, there currently is no way to modify datapack registries in the API. I'm wondering if its planned or if its in the works?
The text was updated successfully, but these errors were encountered: