public class DiggingParticle extends SpriteTexturedParticle
Modifier and Type | Class and Description |
---|---|
static class |
DiggingParticle.Factory |
Modifier and Type | Field and Description |
---|---|
private float |
field_217587_G |
private float |
field_217588_H |
private BlockPos |
sourcePos |
private BlockState |
sourceState |
sprite
particleScale
age, 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 |
---|
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) |
private Particle |
updateSprite(BlockPos pos) |
selectSpriteRandomly, selectSpriteWithAge, setSprite
getScale, multipleParticleScaleBy, renderParticle
getBoundingBox, getMaxAge, isAlive, move, multiplyVelocity, resetPositionToBB, setAlphaF, setBoundingBox, setColor, setExpired, setMaxAge, setPosition, setSize, tick, toString
private final BlockState sourceState
private BlockPos sourcePos
private final float field_217587_G
private final float field_217588_H
public DiggingParticle(World worldIn, double xCoordIn, double yCoordIn, double zCoordIn, double xSpeedIn, double ySpeedIn, double zSpeedIn, BlockState state)
public IParticleRenderType getRenderType()
getRenderType
in class Particle
public DiggingParticle setBlockPos(BlockPos pos)
public DiggingParticle init()
protected void multiplyColor(@Nullable BlockPos p_187154_1_)
protected float getMinU()
getMinU
in class SpriteTexturedParticle
protected float getMaxU()
getMaxU
in class SpriteTexturedParticle
protected float getMinV()
getMinV
in class SpriteTexturedParticle
protected float getMaxV()
getMaxV
in class SpriteTexturedParticle
public int getBrightnessForRender(float partialTick)
getBrightnessForRender
in class Particle