java.lang.Object
com.pixelmonmod.pixelmon.client.particle.ParticleSystem
com.pixelmonmod.pixelmon.client.particle.systems.Discharge

public class Discharge extends ParticleSystem
The NecrozmaFormChange class uses this when reverting a Necrozma from its combined form.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class com.pixelmonmod.pixelmon.client.particle.ParticleSystem

    execute

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 Electric particles that are the color specified in the args parameter.

      Overrides:
      execute in class ParticleSystem
      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.