Sponge icon indicating copy to clipboard operation
Sponge copied to clipboard

Support reloadable registries

Open MrHell228 opened this issue 1 year ago • 0 comments

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.

MrHell228 avatar Sep 27 '24 18:09 MrHell228