ParticleFactoryRegistry

public interface ParticleFactoryRegistry

Registry for adding particle factories on the client for particle types created using FabricParticleTypes (or otherwise).

See also

Types

PendingParticleFactory
Link copied to clipboard
public interface PendingParticleFactory<T extends ParticleEffect>
A pending particle factory.

Functions

getInstance
Link copied to clipboard
static ParticleFactoryRegistry getInstance()
register
Link copied to clipboard
abstract void register<T extends ParticleEffect>(ParticleType<T> type, ParticleFactoryRegistry.PendingParticleFactory<T> constructor)
Registers a delayed factory for constructing particles of the given type.
abstract void register<T extends ParticleEffect>(ParticleType<T> type, ParticleFactory<T> factory)
Registers a factory for constructing particles of the given type.

Inheritors

ParticleFactoryRegistryImpl
Link copied to clipboard

Sources

jvm source
Link copied to clipboard