Class ParticleBloodBubble

java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.WaterDropParticle
org.cyclops.evilcraft.client.particle.ParticleBloodBubble

public class ParticleBloodBubble extends net.minecraft.client.particle.WaterDropParticle
A blood bubble FX.
See Also:
  • SplashParticle
  • Nested Class Summary

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

    net.minecraft.client.particle.WaterDropParticle.Provider
  • 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
    ParticleBloodBubble(net.minecraft.client.multiplayer.ClientLevel worldIn, double xCoordIn, double yCoordIn, double zCoordIn, double xSpeedIn, double ySpeedIn, double zSpeedIn)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    randomDisplayTick(BlockEntityWorking tile, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos blockPos, Random random, net.minecraft.core.Direction rotatedDirection)
    Call this in machines that should display blood particles when working.
    void
     

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

    getRenderType

    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, render, scale

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

    getBoundingBox, getLifetime, getLightColor, 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
  • Constructor Details

    • ParticleBloodBubble

      public ParticleBloodBubble(net.minecraft.client.multiplayer.ClientLevel worldIn, double xCoordIn, double yCoordIn, double zCoordIn, double xSpeedIn, double ySpeedIn, double zSpeedIn)
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class net.minecraft.client.particle.WaterDropParticle
    • randomDisplayTick

      public static void randomDisplayTick(@Nullable BlockEntityWorking tile, net.minecraft.world.level.Level world, net.minecraft.core.BlockPos blockPos, Random random, net.minecraft.core.Direction rotatedDirection)
      Call this in machines that should display blood particles when working.
      Parameters:
      tile - The tile working entity.
      world - The world.
      blockPos - The blockState position.
      random - Random instance.
      rotatedDirection - The direction to emit the particles at.