Class ParticleProviderRegistryKubeEvent

java.lang.Object
dev.latvian.mods.kubejs.client.ParticleProviderRegistryKubeEvent
All Implemented Interfaces:
ClientKubeEvent, KubeEvent

public class ParticleProviderRegistryKubeEvent extends Object implements ClientKubeEvent
  • 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)