Interface ParticleHelper.PendingParticleFactory<T extends net.minecraft.core.particles.ParticleOptions>
- Type Parameters:
T- The type of particle effects this factory deals with.
- Enclosing interface:
- ParticleHelper
- 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 ParticleHelper.PendingParticleFactory<T extends net.minecraft.core.particles.ParticleOptions>
A pending particle factory.
-
Method Summary
-
Method Details
-
create
net.minecraft.client.particle.ParticleProvider<T> create(net.minecraft.client.particle.SpriteSet provider) Called 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.
-