public class ParticleEmitter extends Particle
Modifier and Type | Field and Description |
---|---|
private int |
age |
private Entity |
attachedEntity |
private int |
lifetime |
private EnumParticleTypes |
particleTypes |
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 |
---|
ParticleEmitter(World worldIn,
Entity p_i46279_2_,
EnumParticleTypes particleTypesIn) |
ParticleEmitter(World p_i47219_1_,
Entity p_i47219_2_,
EnumParticleTypes p_i47219_3_,
int p_i47219_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 attachedEntity
private int age
private final int lifetime
private final EnumParticleTypes particleTypes
public ParticleEmitter(World worldIn, Entity p_i46279_2_, EnumParticleTypes particleTypesIn)
public ParticleEmitter(World p_i47219_1_, Entity p_i47219_2_, EnumParticleTypes p_i47219_3_, int p_i47219_4_)
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