Interface FabricSpriteProvider
- All Superinterfaces:
- SpriteProvider
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 receive an instance of this interface containing the sprites set loaded for their particle from the active resource packs.
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptiongetAtlas()Returns the entire particles texture atlas.Gets the list of all sprites available for this particle to use.Methods inherited from interface net.minecraft.client.particle.SpriteProvidergetSprite, getSprite
- 
Method Details- 
getAtlasSpriteAtlasTexture getAtlas()Returns the entire particles texture atlas.
- 
getSpritesGets the list of all sprites available for this particle to use. This is defined in your resource pack.
 
-