Class AbstractExplosionParticle.Provider<T extends AbstractExplosionParticle>

java.lang.Object
com.hbm_m.particle.explosions.AbstractExplosionParticle.Provider<T>
All Implemented Interfaces:
net.minecraft.client.particle.ParticleProvider<net.minecraft.core.particles.SimpleParticleType>
Direct Known Subclasses:
AgentOrangeParticle.Provider, DarkSmokeParticle.Provider, DarkWaveSmokeParticle.Provider, ExplosionFireParticle.Provider, ExplosionFlashParticle.Provider, ExplosionSparkParticle.Provider, FireSparkParticle.Provider, LargeDarkSmoke.Provider, LargeExplosionSpark.Provider, MushroomSmokeParticle.Provider, ShockwaveRingParticle.Provider, WaveSmokeParticle.Provider
Enclosing class:
AbstractExplosionParticle

public abstract static class AbstractExplosionParticle.Provider<T extends AbstractExplosionParticle> extends Object implements net.minecraft.client.particle.ParticleProvider<net.minecraft.core.particles.SimpleParticleType>
ВНУТРЕННИЙ КЛАСС Provider Позволяет удобно создавать частицы через простой интерфейс
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.client.particle.ParticleProvider

    net.minecraft.client.particle.ParticleProvider.Sprite<T extends net.minecraft.core.particles.ParticleOptions>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    protected final net.minecraft.client.particle.SpriteSet
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Provider(net.minecraft.client.particle.SpriteSet sprites, AbstractExplosionParticle.ParticleFactory<T> factory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createParticle(net.minecraft.core.particles.SimpleParticleType type, net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
     

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • Method Details

    • createParticle

      public T createParticle(net.minecraft.core.particles.SimpleParticleType type, net.minecraft.client.multiplayer.ClientLevel level, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
      Specified by:
      createParticle in interface net.minecraft.client.particle.ParticleProvider<T extends AbstractExplosionParticle>