Interface FabricSpriteSet
- All Superinterfaces:
net.minecraft.client.particle.SpriteSet
public interface FabricSpriteSet
extends net.minecraft.client.particle.SpriteSet
It does the same thing as vanilla's
SpriteSet,
but in a way that's accessible to mods, and that exposes the atlas as well.
Custom sprites registered using ParticleProviderRegistry have the options
to supply a particle provider which will receive an instance of this
interface containing the sprites set loaded for their particle from the
active resource packs.
- See Also:
-
Method Summary
Methods inherited from interface net.minecraft.client.particle.SpriteSet
first, get, get
-
Method Details
-
getAtlas
net.minecraft.client.renderer.texture.TextureAtlas getAtlas()Returns the entire particles texture atlas. -
getSprites
List<net.minecraft.client.renderer.texture.TextureAtlasSprite> getSprites()Gets the list of all sprites available for this particle to use. This is defined in your resource pack.
-