Skip to content

Support reloadable registries#4132

Closed
MrHell228 wants to merge 2 commits intoSpongePowered:api-12from
MrHell228:api-12-reloadable-registries
Closed

Support reloadable registries#4132
MrHell228 wants to merge 2 commits intoSpongePowered:api-12from
MrHell228:api-12-reloadable-registries

Conversation

@MrHell228
Copy link
Copy Markdown
Contributor

@MrHell228 MrHell228 commented Sep 27, 2024

Changes RegistryAccess for server from default access to full access (from ReloadableResources, full access contains registries from default access plus few additional ones). The only additional registries are 3 related to loot tables registries.

Also added handler for registries on data pack reload. Currently we dont update registries even though they are actually changed (replaced with completely new registry) because of data packs add/removal. Reloadable registries include 3 loot registries and some registries from default access.

About GeneratorMain: I don't really know what deleted line is supposed to do, but I widened access here too, nothing broke and now it can generate loot tables which wasn't possible before.

@aromaa
Copy link
Copy Markdown
Member

aromaa commented Mar 6, 2025

Superseded by #4179.

@aromaa aromaa closed this Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants