Class SoulParticle

java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.SimpleAnimatedParticle
com.simibubi.create.content.curiosities.bell.CustomRotationParticle
com.simibubi.create.content.curiosities.bell.SoulParticle

public class SoulParticle extends CustomRotationParticle
  • Nested Class Summary

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

    Fields
    Modifier and Type
    Field
    Description
     
    protected int
     
    protected int
     
    protected int
     
    protected int
     
    protected int
     
    protected boolean
     
    protected boolean
     
    protected boolean
     
    protected int
     
    protected int
     
    protected int
     
    protected int
     
    protected int
     
    protected int
     
    protected int
     

    Fields inherited from class com.simibubi.create.content.curiosities.bell.CustomRotationParticle

    loopLength, mirror

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

    sprites

    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, stoppedByCollision, x, xd, xo, y, yd, yo, z, zd, zo
  • Constructor Summary

    Constructors
    Constructor
    Description
    SoulParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z, double vx, double vy, double vz, net.minecraft.client.particle.SpriteSet spriteSet, net.minecraft.core.particles.ParticleOptions data)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.math.Quaternion
    getCustomRotation(net.minecraft.client.Camera camera, float partialTicks)
     
    void
    render(com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.client.Camera camera, float partialTicks)
     
    void
    setFrame(int frame)
     
    void
     

    Methods inherited from class com.simibubi.create.content.curiosities.bell.CustomRotationParticle

    selectSpriteLoopingWithAge

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

    getLightColor, getRenderType, setColor, setFadeColor

    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

    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, shouldCull, toString

    Methods inherited from class java.lang.Object

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

    • startTicks

      protected int startTicks
    • endTicks

      protected int endTicks
    • numLoops

      protected int numLoops
    • firstStartFrame

      protected int firstStartFrame
    • startFrames

      protected int startFrames
    • firstLoopFrame

      protected int firstLoopFrame
    • loopFrames

      protected int loopFrames
    • firstEndFrame

      protected int firstEndFrame
    • endFrames

      protected int endFrames
    • animationStage

      protected SoulParticle.AnimationStage animationStage
    • totalFrames

      protected int totalFrames
    • ticksPerFrame

      protected int ticksPerFrame
    • isPerimeter

      protected boolean isPerimeter
    • isExpandingPerimeter

      protected boolean isExpandingPerimeter
    • isVisible

      protected boolean isVisible
    • perimeterFrames

      protected int perimeterFrames
  • Constructor Details

    • SoulParticle

      public SoulParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z, double vx, double vy, double vz, net.minecraft.client.particle.SpriteSet spriteSet, net.minecraft.core.particles.ParticleOptions data)
  • Method Details

    • tick

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

      public void render(com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.client.Camera camera, float partialTicks)
      Overrides:
      render in class CustomRotationParticle
    • setFrame

      public void setFrame(int frame)
    • getCustomRotation

      public com.mojang.math.Quaternion getCustomRotation(net.minecraft.client.Camera camera, float partialTicks)
      Overrides:
      getCustomRotation in class CustomRotationParticle