Interface IParticleEngine2D

All Known Implementing Classes:
ScreenParticleEngine2D

public interface IParticleEngine2D
Provides methods to manage particles in a 2D space.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Add the given particle to the engine.
    void
    Clear all particles from the engine.
    void
    render(net.minecraft.client.gui.GuiGraphics graphics, float partialTick)
    Render all particles using the provided GuiGraphics.
  • Method Details

    • addParticle

      void addParticle(IParticle2D particle)
      Add the given particle to the engine.
      Parameters:
      particle - The particle to add.
    • render

      void render(net.minecraft.client.gui.GuiGraphics graphics, float partialTick)
      Render all particles using the provided GuiGraphics.
      Parameters:
      graphics - The graphics to render using.
      partialTick - The game's partial tick.
    • clear

      void clear()
      Clear all particles from the engine.