Class Discharge
java.lang.Object
com.pixelmonmod.pixelmon.client.particle.ParticleSystem
com.pixelmonmod.pixelmon.client.particle.systems.Discharge
The
NecrozmaFormChange
class uses this when reverting a Necrozma from its combined form.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(net.minecraft.client.Minecraft mc, net.minecraft.world.level.Level w, double x, double y, double z, float scale, boolean shiny, double... args) Defines 200 particles around a center point and defines the angle that their face will render as completely random.Methods inherited from class com.pixelmonmod.pixelmon.client.particle.ParticleSystem
execute
-
Constructor Details
-
Discharge
public Discharge()
-
-
Method Details
-
execute
public void execute(net.minecraft.client.Minecraft mc, net.minecraft.world.level.Level w, double x, double y, double z, float scale, boolean shiny, double... args) Defines 200 particles around a center point and defines the angle that their face will render as completely random. The age of the particles is set to between 13 and 16.This creates
Electricparticles that are the color specified in the args parameter.- Overrides:
executein classParticleSystem- Parameters:
mc- The Minecraft client that will render the particles.w- The world/dimension where the particles will appear.x- The particle's starting x coordinate.y- The particle's starting y coordinate.z- The particle's starting z coordinate.scale- The size of the particle. Unused by this function.shiny- Whether the particle is shiny? Unused by this function.args- List of double values for setting the color of the particle.
-