Interface ParticleFactoryRegistry
@NonExtendable
public interface ParticleFactoryRegistry
Registry for adding particle factories on the client for
 particle types created using FabricParticleTypes (or otherwise).
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA pending particle factory.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ParticleFactoryRegistry<T extends ParticleEffect>
 voidregister(ParticleType<T> type, ParticleFactoryRegistry.PendingParticleFactory<T> constructor) Registers a delayed factory for constructing particles of the given type.<T extends ParticleEffect>
 voidregister(ParticleType<T> type, ParticleFactory<T> factory) Registers a factory for constructing particles of the given type.
- 
Method Details- 
getInstance
- 
registerRegisters a factory for constructing particles of the given type.
- 
register<T extends ParticleEffect> void register(ParticleType<T> type, ParticleFactoryRegistry.PendingParticleFactory<T> constructor) Registers a delayed factory for constructing particles of the given type.The factory method will be called with a sprite provider to use for that particle when it comes time. Particle sprites will be loaded from domain:/particles/particle_name.json as per vanilla minecraft behavior. 
 
-