You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vanilla supports an resource/asset registries that point to resource packs as well as "default" resources. Pomme currently sort-of has some of this, mostly for UI glyphs. However, it is needed for many systems, such as block rendering, particle generation, etc. This issue is recommending we get a basic centralized asset loading system that knows where assets are and how they are associated (for example, the association between an atlas definition and the images to which it refers) so that other systems can be built on this, and we are better prepared for asset reloading.
Motivation
Because asset lookup is inconsistent and distributed throughout the codebase, it is difficult to build the higher level systems we need (that must be able to look up assets from disk) as well as support data pack reloading without making a mess of the entire codebase. If we have a more centralized system, it will be easier to comprehend and use, and future functionality additions will be more confined.
Proposed Solution
Add a minimal formalization of an "resource registry" that supports the kinds of assets we currently use today - glyphs for UI, textures for particles, block faces. Wire this into the existing code at its current points to demonstrate that it satisfies the current needs and moves the resource-specific loading code out of the specific consumer locations. Ensure the system is amendable to known future compatibility use cases without creating all of the systems that will eventually use it.
I'm working on this as part of the particle system rework - that work really depends on being able to successfully look up assets, and it's better to do it as a discrete feature than to explode the particle system work itself.
Activity
[-]Implement Asset Loading[/-][+]Implement Resource Registry[/+]ChronosWS commentedon Oct 23, 2026
I'm working on this as part of the particle system rework - that work really depends on being able to successfully look up assets, and it's better to do it as a discrete feature than to explode the particle system work itself.