Class CustomBreakingParticle

java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
codechicken.lib.render.particle.CustomBreakingParticle

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

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

    net.minecraft.client.particle.SingleQuadParticle.FacingCameraMode

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

    net.minecraft.client.particle.Particle.LifetimeAlpha
  • Field Summary

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

    Constructors
    Constructor
    Description
    CustomBreakingParticle(net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, double dx, double dy, double dz, net.minecraft.client.renderer.texture.TextureAtlasSprite icon)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.particle.ParticleRenderType
     
    float
     
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    newLandingParticle(net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, double dx, double dy, double dz, net.minecraft.client.renderer.texture.TextureAtlasSprite icon)
     
    void
    setScale(float scale)
     

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

    pickSprite, setSprite, setSpriteFromAge

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

    getFacingCameraMode, getQuadSize, getRenderBoundingBox, render, renderRotatedQuad, renderRotatedQuad, scale

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

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

    Methods inherited from class java.lang.Object

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

    • CustomBreakingParticle

      public CustomBreakingParticle(net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, double dx, double dy, double dz, net.minecraft.client.renderer.texture.TextureAtlasSprite icon)
  • Method Details

    • newLandingParticle

      public static CustomBreakingParticle newLandingParticle(net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, double dx, double dy, double dz, net.minecraft.client.renderer.texture.TextureAtlasSprite icon)
    • getRenderType

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

      protected float getU0()
      Overrides:
      getU0 in class net.minecraft.client.particle.TextureSheetParticle
    • getU1

      protected float getU1()
      Overrides:
      getU1 in class net.minecraft.client.particle.TextureSheetParticle
    • getV0

      protected float getV0()
      Overrides:
      getV0 in class net.minecraft.client.particle.TextureSheetParticle
    • getV1

      protected float getV1()
      Overrides:
      getV1 in class net.minecraft.client.particle.TextureSheetParticle
    • setScale

      public void setScale(float scale)
    • getScale

      public float getScale()