public class ParticleItemPickup extends Particle
Modifier and Type | Field and Description |
---|---|
private int |
age |
private Entity |
item |
private int |
maxAge |
private RenderManager |
renderManager |
private Entity |
target |
private float |
yOffset |
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
Constructor and Description |
---|
ParticleItemPickup(World worldIn,
Entity p_i1233_2_,
Entity p_i1233_3_,
float p_i1233_4_) |
Modifier and Type | Method and Description |
---|---|
int |
getFXLayer() |
void |
onUpdate() |
void |
renderParticle(BufferBuilder buffer,
Entity entityIn,
float partialTicks,
float rotationX,
float rotationZ,
float rotationYZ,
float rotationXY,
float rotationXZ) |
getBlueColorF, getBoundingBox, getBrightnessForRender, getGreenColorF, getRedColorF, isAlive, move, multipleParticleScaleBy, multiplyVelocity, nextTextureIndexX, resetPositionToBB, setAlphaF, setBoundingBox, setExpired, setMaxAge, setParticleTexture, setParticleTextureIndex, setPosition, setRBGColorF, setSize, shouldDisableDepth, toString
private final Entity item
private final Entity target
private int age
private final int maxAge
private final float yOffset
private final RenderManager renderManager
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 getFXLayer()
getFXLayer
in class Particle