public class DiggingParticle extends SpriteTexturedParticle
| Modifier and Type | Class and Description |
|---|---|
static class |
DiggingParticle.Factory |
spriteparticleScaleage, canCollide, height, interpPosX, interpPosY, interpPosZ, 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 |
|---|
DiggingParticle(World worldIn,
double xCoordIn,
double yCoordIn,
double zCoordIn,
double xSpeedIn,
double ySpeedIn,
double zSpeedIn,
BlockState state) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBrightnessForRender(float partialTick) |
protected float |
getMaxU() |
protected float |
getMaxV() |
protected float |
getMinU() |
protected float |
getMinV() |
IParticleRenderType |
getRenderType() |
DiggingParticle |
init() |
protected void |
multiplyColor(BlockPos p_187154_1_) |
DiggingParticle |
setBlockPos(BlockPos pos) |
selectSpriteRandomly, selectSpriteWithAge, setSpritegetScale, multipleParticleScaleBy, renderParticlegetBoundingBox, getMaxAge, isAlive, move, multiplyVelocity, resetPositionToBB, setAlphaF, setBoundingBox, setColor, setExpired, setMaxAge, setPosition, setSize, tick, toStringpublic DiggingParticle(World worldIn, double xCoordIn, double yCoordIn, double zCoordIn, double xSpeedIn, double ySpeedIn, double zSpeedIn, BlockState state)
public IParticleRenderType getRenderType()
getRenderType in class Particlepublic DiggingParticle setBlockPos(BlockPos pos)
public DiggingParticle init()
protected void multiplyColor(@Nullable
BlockPos p_187154_1_)
protected float getMinU()
getMinU in class SpriteTexturedParticleprotected float getMaxU()
getMaxU in class SpriteTexturedParticleprotected float getMinV()
getMinV in class SpriteTexturedParticleprotected float getMaxV()
getMaxV in class SpriteTexturedParticlepublic int getBrightnessForRender(float partialTick)
getBrightnessForRender in class Particle