Class StaticLightModule
java.lang.Object
foundry.veil.api.quasar.emitters.module.render.StaticLightModule
- All Implemented Interfaces:
ParticleModule,RenderParticleModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidonRemove()Called when the module is removed.voidrender(QuasarParticle particle, float partialTicks) Called each frame to update render data ifRenderParticleModule.isEnabled()istrue.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface foundry.veil.api.quasar.emitters.module.RenderParticleModule
isEnabled
-
Constructor Details
-
StaticLightModule
-
StaticLightModule
-
-
Method Details
-
isVisible
public boolean isVisible() -
render
Description copied from interface:RenderParticleModuleCalled each frame to update render data ifRenderParticleModule.isEnabled()istrue.- Specified by:
renderin interfaceRenderParticleModule- Parameters:
particle- The particle to update forpartialTicks- The percentage from last tick to this tick
-
onRemove
public void onRemove()Description copied from interface:ParticleModuleCalled when the module is removed.- Specified by:
onRemovein interfaceParticleModule
-