public class ParticleBloodBubble
extends net.minecraft.client.particle.RainParticle
SplashParticleage, canCollide, height, isExpired, maxAge, motionX, motionY, motionZ, onGround, particleAlpha, particleAngle, particleBlue, particleGravity, particleGreen, particleRed, posX, posY, posZ, prevParticleAngle, prevPosX, prevPosY, prevPosZ, rand, width, world| Constructor and Description |
|---|
ParticleBloodBubble(net.minecraft.world.World worldIn,
double xCoordIn,
double yCoordIn,
double zCoordIn,
double xSpeedIn,
double ySpeedIn,
double zSpeedIn) |
| Modifier and Type | Method and Description |
|---|---|
static void |
randomDisplayTick(TileWorking tile,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
java.util.Random random,
net.minecraft.util.Direction rotatedDirection)
Call this in machines that should display blood particles when working.
|
void |
tick() |
getMaxU, getMaxV, getMinU, getMinV, selectSpriteRandomly, selectSpriteWithAge, setSpritegetScale, multipleParticleScaleBy, renderParticlepublic ParticleBloodBubble(net.minecraft.world.World worldIn,
double xCoordIn,
double yCoordIn,
double zCoordIn,
double xSpeedIn,
double ySpeedIn,
double zSpeedIn)
public void tick()
tick in class net.minecraft.client.particle.RainParticlepublic static void randomDisplayTick(@Nullable
TileWorking tile,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos blockPos,
java.util.Random random,
net.minecraft.util.Direction rotatedDirection)
tile - The tile working entity.world - The world.blockPos - The blockState position.random - Random instance.rotatedDirection - The direction to emit the particles at.