Package dev.latvian.mods.kubejs.client
Class ParticleProviderRegistryKubeEvent
java.lang.Object
dev.latvian.mods.kubejs.client.ParticleProviderRegistryKubeEvent
- All Implemented Interfaces:
ClientKubeEvent,KubeEvent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceParticleProviderRegistryKubeEvent.SpriteSetParticleProvider<T extends net.minecraft.core.particles.ParticleOptions> -
Constructor Summary
ConstructorsConstructorDescriptionParticleProviderRegistryKubeEvent(net.neoforged.neoforge.client.event.RegisterParticleProvidersEvent event) -
Method Summary
Modifier and TypeMethodDescription<T extends net.minecraft.core.particles.ParticleOptions>
voidregister(net.minecraft.core.particles.ParticleType<T> type) <T extends net.minecraft.core.particles.ParticleOptions>
voidregister(net.minecraft.core.particles.ParticleType<T> type, ParticleProviderRegistryKubeEvent.SpriteSetParticleProvider<T> spriteProvider) <T extends net.minecraft.core.particles.ParticleOptions>
voidregister(net.minecraft.core.particles.ParticleType<T> type, Consumer<KubeAnimatedParticle> particle) <T extends net.minecraft.core.particles.ParticleOptions>
voidregisterSpecial(net.minecraft.core.particles.ParticleType<T> type, net.minecraft.client.particle.ParticleProvider<T> provider) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.latvian.mods.kubejs.client.ClientKubeEvent
getClientMethods inherited from interface dev.latvian.mods.kubejs.event.KubeEvent
afterPosted, cancel, cancel, defaultExitValue, exit, exit, getExitValueType, mapExitValue, success, success
-
Constructor Details
-
ParticleProviderRegistryKubeEvent
public ParticleProviderRegistryKubeEvent(net.neoforged.neoforge.client.event.RegisterParticleProvidersEvent event)
-
-
Method Details
-
register
public <T extends net.minecraft.core.particles.ParticleOptions> void register(net.minecraft.core.particles.ParticleType<T> type, ParticleProviderRegistryKubeEvent.SpriteSetParticleProvider<T> spriteProvider) -
register
public <T extends net.minecraft.core.particles.ParticleOptions> void register(net.minecraft.core.particles.ParticleType<T> type, Consumer<KubeAnimatedParticle> particle) -
register
public <T extends net.minecraft.core.particles.ParticleOptions> void register(net.minecraft.core.particles.ParticleType<T> type) -
registerSpecial
public <T extends net.minecraft.core.particles.ParticleOptions> void registerSpecial(net.minecraft.core.particles.ParticleType<T> type, net.minecraft.client.particle.ParticleProvider<T> provider)
-