Interface ParticleFactoryRegistry.PendingParticleFactory<T extends ParticleEffect>
- Type Parameters:
- T- The type of particle effects this factory deals with.
- Enclosing interface:
- ParticleFactoryRegistry
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface ParticleFactoryRegistry.PendingParticleFactory<T extends ParticleEffect>
A pending particle factory.
- 
Method SummaryModifier and TypeMethodDescriptioncreate(FabricSpriteProvider provider) Called to create a new particle factory.
- 
Method Details- 
createCalled to create a new particle factory.Particle sprites will be loaded from domain:/particles/particle_name.json as per vanilla minecraft behavior. - Parameters:
- provider- The sprite provider used to supply sprite textures when drawing the mod's particle.
- Returns:
- A new particle factory.
 
 
-