Fabric Sprite Provider
FabricSpriteProvider. It does the same thing as vanilla's SpriteProvider, but in a way that's accessible to mods, and that exposes the atlas as well.
Custom sprites registered using ParticleFactoryRegistry have the options to supply a particle factory which will recieve an instance of this interface containing the sprites set loaded for their particle from the active resourcepacks.
See also
net.fabricmc.fabric.api.client.particle.v1.ParticleFactoryRegistry
ParticleFactoryRegistry#register(ParticleType, ParticleFactory)
Functions
Inheritors
FabricSpriteProviderImpl
Link copied to clipboard
Sources
jvm source
Link copied to clipboard