T - The type of particle effects this factory deals with.@FunctionalInterface public static interface ParticleFactoryRegistry.PendingParticleFactory<T extends net.minecraft.particle.ParticleEffect>
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.client.particle.ParticleFactory<T> |
create(FabricSpriteProvider provider)
Called to create a new particle factory.
|
net.minecraft.client.particle.ParticleFactory<T> create(FabricSpriteProvider provider)
Particle sprites will be loaded from domain:/particles/particle_name.json as per vanilla minecraft behaviour.
provider - The sprite provider used to supply sprite textures when drawing the mod's particle.