Interface IParticleEngine2D
- All Known Implementing Classes:
ScreenParticleEngine2D
public interface IParticleEngine2D
Provides methods to manage particles in a 2D space.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddParticle(IParticle2D particle) Add the given particle to the engine.voidclear()Clear all particles from the engine.voidrender(net.minecraft.client.gui.GuiGraphics graphics, float partialTick) Render all particles using the providedGuiGraphics.
-
Method Details
-
addParticle
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 providedGuiGraphics.- Parameters:
graphics- The graphics to render using.partialTick- The game's partial tick.
-
clear
void clear()Clear all particles from the engine.
-