Class CustomRotationParticle

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
Direct Known Subclasses:
SoulBaseParticle, SoulParticle

public class CustomRotationParticle extends net.minecraft.client.particle.SimpleAnimatedParticle
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
    protected boolean
     

    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
    CustomRotationParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z, net.minecraft.client.particle.SpriteSet spriteSet, float yAccel)
     
  • 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
    selectSpriteLoopingWithAge(net.minecraft.client.particle.SpriteSet sprite)
     

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

    getLightColor, getRenderType, setColor, setFadeColor, tick

    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

    • mirror

      protected boolean mirror
    • loopLength

      protected int loopLength
  • Constructor Details

    • CustomRotationParticle

      public CustomRotationParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z, net.minecraft.client.particle.SpriteSet spriteSet, float yAccel)
  • Method Details

    • selectSpriteLoopingWithAge

      public void selectSpriteLoopingWithAge(net.minecraft.client.particle.SpriteSet sprite)
    • getCustomRotation

      public com.mojang.math.Quaternion getCustomRotation(net.minecraft.client.Camera camera, float partialTicks)
    • render

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