java.lang.Object
com.pixelmonmod.pixelmon.client.particle.ParticleEffect
com.pixelmonmod.pixelmon.client.particle.particles.SlingRing

public class SlingRing extends ParticleEffect
  • Constructor Details

    • SlingRing

      public SlingRing(boolean parent, int maxAge)
  • Method Details

    • init

      public void init(ParticleArcanery particle, net.minecraft.world.level.Level world, double x, double y, double z, double vx, double vy, double vz, float size)
      Description copied from class: ParticleEffect
      A function called by ParticleArcanery's constructor.

      TODO: idk why this is needed when constructor's exist

      Specified by:
      init in class ParticleEffect
      Parameters:
      particle - An object representing a particle...?
      world - The Minecraft world.
      x - The x coordinate of the particle.
      y - The y coordinate of the particle.
      z - The z coordinate of the particle.
      vx - The x velocity of the particle.
      vy - The y velocity of the particle.
      vz - The z velocity of the particle.
      size - The size of the particle in the world.
    • update

      public void update(ParticleArcanery particle)
      Description copied from class: ParticleEffect
      A function called every tick by ParticleArcanery.tick().

      TODO: Why the fuck isn't this just called tick

      Specified by:
      update in class ParticleEffect
      Parameters:
      particle - An object representing a particle...?
    • texture

      public net.minecraft.resources.ResourceLocation texture()
      Specified by:
      texture in class ParticleEffect
      Returns:
      The texture of the particle.