public class ParticleDigging extends Particle
| Modifier and Type | Class and Description |
|---|---|
static class |
ParticleDigging.Factory |
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()
Retrieve what effect layer (what texture) the particle should be rendered with.
|
ParticleDigging |
init() |
protected void |
multiplyColor(BlockPos p_187154_1_) |
void |
renderParticle(VertexBuffer buffer,
Entity entityIn,
float partialTicks,
float rotationX,
float rotationZ,
float rotationYZ,
float rotationXY,
float rotationXZ)
Renders the particle
|
ParticleDigging |
setBlockPos(BlockPos pos)
Sets the position of the block that this particle came from.
|
getBlueColorF, getBoundingBox, getGreenColorF, getRedColorF, isAlive, isTransparent, move, multipleParticleScaleBy, multiplyVelocity, nextTextureIndexX, onUpdate, resetPositionToBB, setAlphaF, setBoundingBox, setExpired, setMaxAge, setParticleTexture, setParticleTextureIndex, setPosition, setRBGColorF, setSize, toStringprotected 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(BlockPos p_187154_1_)
public int getFXLayer()
getFXLayer in class Particlepublic void renderParticle(VertexBuffer buffer, Entity entityIn, float partialTicks, float rotationX, float rotationZ, float rotationYZ, float rotationXY, float rotationXZ)
renderParticle in class Particlepublic int getBrightnessForRender(float p_189214_1_)
getBrightnessForRender in class Particle