@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 |
spritescaleage, 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, setSpriteForAgebuildGeometry, getSize, scalegetBoundingBox, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, tick, toStringprivate 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 SpriteBillboardParticleprotected float getMaxU()
getMaxU in class SpriteBillboardParticleprotected float getMinV()
getMinV in class SpriteBillboardParticleprotected float getMaxV()
getMaxV in class SpriteBillboardParticlepublic int getColorMultiplier(float tint)
getColorMultiplier in class Particle