Interface ParticleProviderRegistry.PendingParticleProvider<T extends net.minecraft.core.particles.ParticleOptions>
- Type Parameters:
T- The type of particle options this provider deals with.
- Enclosing interface:
ParticleProviderRegistry
- 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 ParticleProviderRegistry.PendingParticleProvider<T extends net.minecraft.core.particles.ParticleOptions>
A pending particle provider.
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.particle.ParticleProvider<T> create(FabricSpriteSet spriteSet) Called to create a new particle provider.
-
Method Details
-
create
Called to create a new particle provider.Particle sprites will be loaded from domain:/particles/particle_name.json as per vanilla minecraft behavior.
- Parameters:
spriteSet- The sprite set used to supply sprite textures when drawing the mod's particle.- Returns:
- A new particle provider.
-