@Environment(value=CLIENT) public class BlockDustParticle extends SpriteBillboardParticle
Modifier and Type | Class and Description |
---|---|
static class |
BlockDustParticle.Factory |
Modifier and Type | Field and Description |
---|---|
private BlockPos |
blockPos |
private BlockState |
blockState |
private float |
sampleU |
private float |
sampleV |
sprite
scale
age, angle, collidesWithWorld, colorAlpha, colorBlue, colorGreen, colorRed, dead, gravityStrength, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, spacingXZ, spacingY, velocityX, velocityY, velocityZ, world, x, y, z
Constructor and Description |
---|
BlockDustParticle(ClientWorld world,
double x,
double y,
double z,
double velocityX,
double velocityY,
double velocityZ,
BlockState blockState) |
Modifier and Type | Method and Description |
---|---|
int |
getColorMultiplier(float tint) |
protected float |
getMaxU() |
protected float |
getMaxV() |
protected float |
getMinU() |
protected float |
getMinV() |
ParticleTextureSheet |
getType() |
BlockDustParticle |
setBlockPos(BlockPos blockPos) |
BlockDustParticle |
setBlockPosFromPosition() |
protected void |
updateColor(BlockPos blockPos) |
setSprite, setSprite, setSpriteForAge
buildGeometry, getSize, scale
getBoundingBox, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, tick, toString
private final BlockState blockState
private BlockPos blockPos
private final float sampleU
private final float sampleV
public BlockDustParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState blockState)
public ParticleTextureSheet getType()
public BlockDustParticle setBlockPos(BlockPos blockPos)
public BlockDustParticle setBlockPosFromPosition()
protected float getMinU()
getMinU
in class SpriteBillboardParticle
protected float getMaxU()
getMaxU
in class SpriteBillboardParticle
protected float getMinV()
getMinV
in class SpriteBillboardParticle
protected float getMaxV()
getMaxV
in class SpriteBillboardParticle
public int getColorMultiplier(float tint)
getColorMultiplier
in class Particle