Class ActivityParticle

java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
com.codinglitch.simpleradio.core.registry.particles.ActivityParticle
Direct Known Subclasses:
AlignedParticle, SpeakRingParticle

public class ActivityParticle extends net.minecraft.client.particle.TextureSheetParticle
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class net.minecraft.client.particle.SingleQuadParticle

    net.minecraft.client.particle.SingleQuadParticle.FacingCameraMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected float
     

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

    sprite

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

    quadSize

    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
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getLightColor(float t)
     
    net.minecraft.client.particle.ParticleRenderType
     
    protected void
    makeCornerVertex(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Vector3f pos, float u, float v, int light)
     
    void
    render(com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.client.Camera camera, float partial)
     
    protected void
    renderQuad(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Vector3f[] vectors, float partial)
     
    protected void
    renderRotatedParticle(com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.client.Camera camera, float partial, float mult)
     
    void
     

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

    getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAge

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

    getFacingCameraMode, getQuadSize, scale

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

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

    Methods inherited from class java.lang.Object

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

    • growth

      protected float growth
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class net.minecraft.client.particle.Particle
    • render

      public void render(com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.client.Camera camera, float partial)
      Overrides:
      render in class net.minecraft.client.particle.SingleQuadParticle
    • renderRotatedParticle

      protected void renderRotatedParticle(com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.client.Camera camera, float partial, float mult)
    • renderQuad

      protected void renderQuad(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Vector3f[] vectors, float partial)
    • makeCornerVertex

      protected void makeCornerVertex(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Vector3f pos, float u, float v, int light)
    • getLightColor

      public int getLightColor(float t)
      Overrides:
      getLightColor in class net.minecraft.client.particle.Particle
    • getRenderType

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