Package net.minecraft.client.particle
Class BlockDustParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.SpriteBillboardParticle
net.minecraft.client.particle.BlockDustParticle
@Environment(CLIENT) public class BlockDustParticle extends SpriteBillboardParticle
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBlockDustParticle.Factory -
Field Summary
Fields Modifier and Type Field Description private BlockPosblockPosprivate BlockStateblockStateprivate floatsampleUprivate floatsampleVFields inherited from class net.minecraft.client.particle.SpriteBillboardParticle
spriteFields inherited from class net.minecraft.client.particle.BillboardParticle
scaleFields inherited from class net.minecraft.client.particle.Particle
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 Summary
Constructors Constructor Description BlockDustParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState state) -
Method Summary
Modifier and Type Method Description intgetBrightness(float tint)protected floatgetMaxU()protected floatgetMaxV()protected floatgetMinU()protected floatgetMinV()ParticleTextureSheetgetType()BlockDustParticlesetBlockPos(BlockPos blockPos)BlockDustParticlesetBlockPosFromPosition()protected voidupdateColor(BlockPos blockPos)Methods inherited from class net.minecraft.client.particle.SpriteBillboardParticle
setSprite, setSprite, setSpriteForAgeMethods inherited from class net.minecraft.client.particle.BillboardParticle
buildGeometry, getSize, scaleMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, tick, toString
-
Field Details
-
blockState
-
blockPos
-
sampleU
private final float sampleU -
sampleV
private final float sampleV
-
-
Constructor Details
-
BlockDustParticle
public BlockDustParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, BlockState state)
-
-
Method Details
-
getType
-
setBlockPos
-
setBlockPosFromPosition
-
updateColor
-
getMinU
protected float getMinU()- Overrides:
getMinUin classSpriteBillboardParticle
-
getMaxU
protected float getMaxU()- Overrides:
getMaxUin classSpriteBillboardParticle
-
getMinV
protected float getMinV()- Overrides:
getMinVin classSpriteBillboardParticle
-
getMaxV
protected float getMaxV()- Overrides:
getMaxVin classSpriteBillboardParticle
-
getBrightness
public int getBrightness(float tint)- Overrides:
getBrightnessin classParticle
-