public interface FabricSpriteProvider
extends net.minecraft.client.particle.SpriteProvider
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.
Modifier and Type | Method and Description |
---|---|
net.minecraft.client.texture.SpriteAtlasTexture |
getAtlas()
Returns the entire particles texture atlas.
|
List<net.minecraft.client.texture.Sprite> |
getSprites()
Gets the list of all sprites available for this particle to use.
|
net.minecraft.client.texture.SpriteAtlasTexture getAtlas()
List<net.minecraft.client.texture.Sprite> getSprites()