Interface RenderParticleModule

All Superinterfaces:
ParticleModule
All Known Implementing Classes:
ColorRenderModule, CustomLightModule, DynamicLightModule, StaticLightModule

public interface RenderParticleModule extends ParticleModule
A module instance called once per frame.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
     
    void
    render(QuasarParticle particle, float partialTicks)
    Called each frame to update render data if isEnabled() is true.

    Methods inherited from interface foundry.veil.api.quasar.emitters.module.ParticleModule

    onRemove
  • Method Details

    • render

      void render(QuasarParticle particle, float partialTicks)
      Called each frame to update render data if isEnabled() is true.
      Parameters:
      particle - The particle to update for
      partialTicks - The percentage from last tick to this tick
    • isEnabled

      default boolean isEnabled()
      Returns:
      Whether this module is enabled and should be considered for the next few frames