Class ParticleBlocks

java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
com.pixelmonmod.pixelmon.client.render.ParticleBlocks

public class ParticleBlocks extends net.minecraft.client.particle.TextureSheetParticle
A particle spawned when a multiblock is broken.
  • 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, bb, bbHeight, bbWidth, bCol, friction, gCol, gravity, hasPhysics, INITIAL_AABB, level, lifetime, MAXIMUM_COLLISION_VELOCITY_SQUARED, onGround, oRoll, random, rCol, removed, roll, speedUpWhenYMotionIsBlocked, stoppedByCollision, x, xd, xo, y, yd, yo, z, zd, zo
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParticleBlocks(net.minecraft.client.multiplayer.ClientLevel worldIn, double xCoordIn, double yCoordIn, double zCoordIn, double xSpeedIn, double ySpeedIn, double zSpeedIn, net.minecraft.world.level.block.state.BlockState state)
    Initializes the particle.
  • Method Summary

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

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

    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, getLightColor, getParticleGroup, getPos, isAlive, move, remove, 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

    • ParticleBlocks

      public ParticleBlocks(net.minecraft.client.multiplayer.ClientLevel worldIn, double xCoordIn, double yCoordIn, double zCoordIn, double xSpeedIn, double ySpeedIn, double zSpeedIn, net.minecraft.world.level.block.state.BlockState state)
      Initializes the particle.
      Parameters:
      worldIn - The world the particle is in.
      xCoordIn - The x coordinate of the particle.
      yCoordIn - The y coordinate of the particle.
      zCoordIn - The z coordinate of the particle.
      xSpeedIn - The x component of the velocity of particle.
      ySpeedIn - The y component of the velocity of the particle.
      zSpeedIn - The z component of the velocity of the particle.
      state - The block that spawned the particle.
  • Method Details

    • 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
    • render

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

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