Class NeoForgeClientHelpers.ParticleProviders

java.lang.Object
net.rebel459.unified.neoforge.client.core.NeoForgeClientHelpers.ParticleProviders
All Implemented Interfaces:
CommonClientHelpers.ParticleProviders
Enclosing class:
NeoForgeClientHelpers

public static class NeoForgeClientHelpers.ParticleProviders extends Object implements CommonClientHelpers.ParticleProviders
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends net.minecraft.core.particles.ParticleOptions>
    void
    add(Supplier<? extends net.minecraft.core.particles.ParticleType<T>> type, net.minecraft.client.particle.ParticleResources.SpriteParticleRegistration<T> sprite)
     
    static void
    registerParticleProviders(net.neoforged.neoforge.client.event.RegisterParticleProvidersEvent event)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ParticleProviders

      public ParticleProviders()
  • Method Details

    • add

      public <T extends net.minecraft.core.particles.ParticleOptions> void add(Supplier<? extends net.minecraft.core.particles.ParticleType<T>> type, net.minecraft.client.particle.ParticleResources.SpriteParticleRegistration<T> sprite)
      Specified by:
      add in interface CommonClientHelpers.ParticleProviders
    • registerParticleProviders

      public static void registerParticleProviders(net.neoforged.neoforge.client.event.RegisterParticleProvidersEvent event)