register
Registers a factory for constructing particles of the given type.
abstract void register<T extends ParticleEffect>(ParticleType<T> type, ParticleFactoryRegistry.PendingParticleFactory<T> constructor)
Content copied to clipboard
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 behaviour.