public class ParticleDigging extends Particle
Modifier and Type | Class and Description |
---|---|
static class |
ParticleDigging.Factory |
Modifier and Type | Field and Description |
---|---|
private BlockPos |
sourcePos |
private IBlockState |
sourceState |
cameraViewDir, canCollide, height, interpPosX, interpPosY, interpPosZ, isExpired, motionX, motionY, motionZ, onGround, particleAge, particleAlpha, particleAngle, particleBlue, particleGravity, particleGreen, particleMaxAge, particleRed, particleScale, particleTexture, particleTextureIndexX, particleTextureIndexY, particleTextureJitterX, particleTextureJitterY, posX, posY, posZ, prevParticleAngle, prevPosX, prevPosY, prevPosZ, rand, width, world
Modifier | Constructor and Description |
---|---|
protected |
ParticleDigging(World worldIn,
double xCoordIn,
double yCoordIn,
double zCoordIn,
double xSpeedIn,
double ySpeedIn,
double zSpeedIn,
IBlockState state) |
Modifier and Type | Method and Description |
---|---|
int |
getBrightnessForRender(float p_189214_1_) |
int |
getFXLayer() |
ParticleDigging |
init() |
protected void |
multiplyColor(BlockPos p_187154_1_) |
void |
renderParticle(BufferBuilder buffer,
Entity entityIn,
float partialTicks,
float rotationX,
float rotationZ,
float rotationYZ,
float rotationXY,
float rotationXZ) |
ParticleDigging |
setBlockPos(BlockPos pos) |
getBlueColorF, getBoundingBox, getGreenColorF, getRedColorF, isAlive, move, multipleParticleScaleBy, multiplyVelocity, nextTextureIndexX, onUpdate, resetPositionToBB, setAlphaF, setBoundingBox, setExpired, setMaxAge, setParticleTexture, setParticleTextureIndex, setPosition, setRBGColorF, setSize, shouldDisableDepth, toString
private final IBlockState sourceState
private BlockPos sourcePos
protected ParticleDigging(World worldIn, double xCoordIn, double yCoordIn, double zCoordIn, double xSpeedIn, double ySpeedIn, double zSpeedIn, IBlockState state)
public ParticleDigging setBlockPos(BlockPos pos)
public ParticleDigging init()
protected void multiplyColor(@Nullable BlockPos p_187154_1_)
public int getFXLayer()
getFXLayer
in class Particle
public void renderParticle(BufferBuilder buffer, Entity entityIn, float partialTicks, float rotationX, float rotationZ, float rotationYZ, float rotationXY, float rotationXZ)
renderParticle
in class Particle
public int getBrightnessForRender(float p_189214_1_)
getBrightnessForRender
in class Particle