Interface ICustomParticleDataWithSprite<T extends net.minecraft.core.particles.ParticleOptions>

All Superinterfaces:
ICustomParticleData<T>
All Known Implementing Classes:
AirFlowParticleData, AirParticleData, BasicParticleData, RotationIndicatorParticleData, SoulBaseParticle.Data, SoulParticle.Data, SoulParticle.ExpandingPerimeterData, SoulParticle.PerimeterData, SteamJetParticleData, WiFiParticle.Data

public interface ICustomParticleDataWithSprite<T extends net.minecraft.core.particles.ParticleOptions> extends ICustomParticleData<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.core.particles.ParticleType<T>
     
    default net.minecraft.client.particle.ParticleProvider<T>
     
    net.minecraft.client.particle.ParticleEngine.SpriteParticleRegistration<T>
     
    default void
    register(net.minecraft.core.particles.ParticleType<T> type, net.neoforged.neoforge.client.event.RegisterParticleProvidersEvent event)
     

    Methods inherited from interface com.simibubi.create.foundation.particle.ICustomParticleData

    getCodec, getStreamCodec
  • Method Details

    • createType

      default net.minecraft.core.particles.ParticleType<T> createType()
      Specified by:
      createType in interface ICustomParticleData<T extends net.minecraft.core.particles.ParticleOptions>
    • getFactory

      default net.minecraft.client.particle.ParticleProvider<T> getFactory()
      Specified by:
      getFactory in interface ICustomParticleData<T extends net.minecraft.core.particles.ParticleOptions>
    • getMetaFactory

      net.minecraft.client.particle.ParticleEngine.SpriteParticleRegistration<T> getMetaFactory()
    • register

      default void register(net.minecraft.core.particles.ParticleType<T> type, net.neoforged.neoforge.client.event.RegisterParticleProvidersEvent event)
      Specified by:
      register in interface ICustomParticleData<T extends net.minecraft.core.particles.ParticleOptions>