Class LightSparkParticle

java.lang.Object
net.minecraft.client.particle.Particle
etithespirit.orimod.client.render.particle.LightSparkParticle
Direct Known Subclasses:
LightSparkParticle.SpiritArcArrowImpactParticle

public abstract class LightSparkParticle extends net.minecraft.client.particle.Particle
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields inherited from class net.minecraft.client.particle.Particle

    age, alpha, bbHeight, bbWidth, bCol, friction, gCol, gravity, hasPhysics, level, lifetime, onGround, oRoll, random, rCol, removed, roll, speedUpWhenYMotionIsBlocked, x, xd, xo, y, yd, yo, z, zd, zo
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    LightSparkParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z)
     
    protected
    LightSparkParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
     
    protected
    LightSparkParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, net.minecraft.world.phys.Vec3 pos, net.minecraft.world.phys.Vec3 speed)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract float
    getQuadSize(float partialTicks)
     
    net.minecraft.client.particle.ParticleRenderType
     
    void
    render(com.mojang.blaze3d.vertex.VertexConsumer buffer, net.minecraft.client.Camera camera, float partialTicks)
     

    Methods inherited from class net.minecraft.client.particle.Particle

    getBoundingBox, getLifetime, getLightColor, getParticleGroup, isAlive, move, remove, scale, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, tick, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LightSparkParticle

      protected LightSparkParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z)
    • LightSparkParticle

      protected LightSparkParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
    • LightSparkParticle

      protected LightSparkParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, net.minecraft.world.phys.Vec3 pos, net.minecraft.world.phys.Vec3 speed)
  • Method Details

    • render

      public void render(com.mojang.blaze3d.vertex.VertexConsumer buffer, net.minecraft.client.Camera camera, float partialTicks)
      Specified by:
      render in class net.minecraft.client.particle.Particle
    • getQuadSize

      public abstract float getQuadSize(float partialTicks)
    • getRenderType

      public net.minecraft.client.particle.ParticleRenderType getRenderType()
      Specified by:
      getRenderType in class net.minecraft.client.particle.Particle