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
spriteFields inherited from class net.minecraft.client.particle.SingleQuadParticle
quadSizeFields 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
ConstructorsConstructorDescriptionParticleBloodBubble(net.minecraft.client.multiplayer.ClientLevel worldIn, double xCoordIn, double yCoordIn, double zCoordIn, double xSpeedIn, double ySpeedIn, double zSpeedIn) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidrandomDisplayTick(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.voidtick()Methods inherited from class net.minecraft.client.particle.WaterDropParticle
getRenderTypeMethods inherited from class net.minecraft.client.particle.TextureSheetParticle
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAgeMethods inherited from class net.minecraft.client.particle.SingleQuadParticle
getQuadSize, render, scaleMethods 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
-
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:
tickin classnet.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.
-