Class ParticleSystemManager

java.lang.Object
foundry.veil.api.quasar.particle.ParticleSystemManager

public class ParticleSystemManager extends Object
  • Constructor Details

    • ParticleSystemManager

      public ParticleSystemManager()
  • Method Details

    • setLevel

      @Internal public void setLevel(@Nullable @Nullable net.minecraft.client.multiplayer.ClientLevel level)
    • createEmitter

      @Nullable public @Nullable ParticleEmitter createEmitter(net.minecraft.resources.ResourceLocation name)
    • addParticleSystem

      public void addParticleSystem(ParticleEmitter particleEmitter)
    • clear

      public void clear()
    • tick

      @Internal public void tick()
    • render

      @Internal public void render(MatrixStack matrixStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, net.minecraft.client.Camera camera, CullFrustum frustum, float partialTicks)
    • reserve

      public void reserve(int particles)
      Attempts to remove particles from the most dense and farthest particle emitters to make room for closer emitters.
      Parameters:
      particles - The number of particles being spawned
    • getLevel

      public net.minecraft.client.multiplayer.ClientLevel getLevel()
    • getScheduler

      public TickTaskScheduler getScheduler()
    • getEmitterCount

      public int getEmitterCount()
    • getParticleCount

      public int getParticleCount()