Class RegisterParticleFactoriesEventImpl
java.lang.Object
dev.upcraft.sparkweave.quilt.impl.registry.RegisterParticleFactoriesEventImpl
- All Implemented Interfaces:
RegisterParticleFactoriesEvent
public class RegisterParticleFactoriesEventImpl
extends Object
implements RegisterParticleFactoriesEvent
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.upcraft.sparkweave.api.client.event.RegisterParticleFactoriesEvent
RegisterParticleFactoriesEvent.Callback, RegisterParticleFactoriesEvent.SpriteParticleRegistration<T extends net.minecraft.core.particles.ParticleOptions> -
Field Summary
Fields inherited from interface dev.upcraft.sparkweave.api.client.event.RegisterParticleFactoriesEvent
EVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<OPT extends net.minecraft.core.particles.ParticleOptions,TYPE extends net.minecraft.core.particles.ParticleType<OPT>>
voidregisterSpecial(Supplier<TYPE> type, net.minecraft.client.particle.ParticleProvider<OPT> provider) <OPT extends net.minecraft.core.particles.ParticleOptions,TYPE extends net.minecraft.core.particles.ParticleType<OPT>>
voidregisterSpriteSet(Supplier<TYPE> type, RegisterParticleFactoriesEvent.SpriteParticleRegistration<OPT> registration) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.upcraft.sparkweave.api.client.event.RegisterParticleFactoriesEvent
registerSprite
-
Constructor Details
-
RegisterParticleFactoriesEventImpl
public RegisterParticleFactoriesEventImpl()
-
-
Method Details
-
registerSpecial
public <OPT extends net.minecraft.core.particles.ParticleOptions,TYPE extends net.minecraft.core.particles.ParticleType<OPT>> void registerSpecial(Supplier<TYPE> type, net.minecraft.client.particle.ParticleProvider<OPT> provider) - Specified by:
registerSpecialin interfaceRegisterParticleFactoriesEvent
-
registerSpriteSet
public <OPT extends net.minecraft.core.particles.ParticleOptions,TYPE extends net.minecraft.core.particles.ParticleType<OPT>> void registerSpriteSet(Supplier<TYPE> type, RegisterParticleFactoriesEvent.SpriteParticleRegistration<OPT> registration) - Specified by:
registerSpriteSetin interfaceRegisterParticleFactoriesEvent
-