public class Particle
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected float |
height |
static double |
interpPosX |
static double |
interpPosY |
static double |
interpPosZ |
protected boolean |
isCollided |
protected boolean |
isExpired |
protected double |
motionX |
protected double |
motionY |
protected double |
motionZ |
protected int |
particleAge |
protected float |
particleAlpha |
protected float |
particleBlue |
protected float |
particleGravity |
protected float |
particleGreen |
protected int |
particleMaxAge |
protected float |
particleRed |
protected float |
particleScale |
protected TextureAtlasSprite |
particleTexture |
protected int |
particleTextureIndexX |
protected int |
particleTextureIndexY |
protected float |
particleTextureJitterX |
protected float |
particleTextureJitterY |
protected double |
posX |
protected double |
posY |
protected double |
posZ |
protected double |
prevPosX |
protected double |
prevPosY |
protected double |
prevPosZ |
protected java.util.Random |
rand |
protected float |
width |
protected World |
worldObj |
Modifier | Constructor and Description |
---|---|
protected |
Particle(World worldIn,
double posXIn,
double posYIn,
double posZIn) |
|
Particle(World worldIn,
double xCoordIn,
double yCoordIn,
double zCoordIn,
double xSpeedIn,
double ySpeedIn,
double zSpeedIn) |
Modifier and Type | Method and Description |
---|---|
float |
getBlueColorF() |
int |
getBrightnessForRender(float p_189214_1_) |
AxisAlignedBB |
getEntityBoundingBox() |
int |
getFXLayer() |
float |
getGreenColorF() |
float |
getRedColorF() |
boolean |
isAlive() |
boolean |
isTransparent() |
void |
moveEntity(double x,
double y,
double z) |
Particle |
multipleParticleScaleBy(float scale) |
Particle |
multiplyVelocity(float multiplier) |
void |
nextTextureIndexX() |
void |
onUpdate() |
void |
renderParticle(VertexBuffer worldRendererIn,
Entity entityIn,
float partialTicks,
float rotationX,
float rotationZ,
float rotationYZ,
float rotationXY,
float rotationXZ) |
protected void |
resetPositionToBB() |
void |
setAlphaF(float alpha) |
void |
setEntityBoundingBox(AxisAlignedBB p_187108_1_) |
void |
setExpired() |
void |
setMaxAge(int p_187114_1_) |
void |
setParticleTexture(TextureAtlasSprite texture) |
void |
setParticleTextureIndex(int particleTextureIndex) |
void |
setPosition(double p_187109_1_,
double p_187109_3_,
double p_187109_5_) |
void |
setRBGColorF(float particleRedIn,
float particleGreenIn,
float particleBlueIn) |
protected void |
setSize(float p_187115_1_,
float p_187115_2_) |
java.lang.String |
toString() |
protected World worldObj
protected double prevPosX
protected double prevPosY
protected double prevPosZ
protected double posX
protected double posY
protected double posZ
protected double motionX
protected double motionY
protected double motionZ
protected boolean isCollided
protected boolean isExpired
protected float width
protected float height
protected java.util.Random rand
protected int particleTextureIndexX
protected int particleTextureIndexY
protected float particleTextureJitterX
protected float particleTextureJitterY
protected int particleAge
protected int particleMaxAge
protected float particleScale
protected float particleGravity
protected float particleRed
protected float particleGreen
protected float particleBlue
protected float particleAlpha
protected TextureAtlasSprite particleTexture
public static double interpPosX
public static double interpPosY
public static double interpPosZ
protected Particle(World worldIn, double posXIn, double posYIn, double posZIn)
public Particle(World worldIn, double xCoordIn, double yCoordIn, double zCoordIn, double xSpeedIn, double ySpeedIn, double zSpeedIn)
public Particle multiplyVelocity(float multiplier)
public Particle multipleParticleScaleBy(float scale)
public void setRBGColorF(float particleRedIn, float particleGreenIn, float particleBlueIn)
public void setAlphaF(float alpha)
public boolean isTransparent()
public float getRedColorF()
public float getGreenColorF()
public float getBlueColorF()
public void setMaxAge(int p_187114_1_)
public void onUpdate()
public void renderParticle(VertexBuffer worldRendererIn, Entity entityIn, float partialTicks, float rotationX, float rotationZ, float rotationYZ, float rotationXY, float rotationXZ)
public int getFXLayer()
public void setParticleTexture(TextureAtlasSprite texture)
public void setParticleTextureIndex(int particleTextureIndex)
public void nextTextureIndexX()
public java.lang.String toString()
toString
in class java.lang.Object
public void setExpired()
protected void setSize(float p_187115_1_, float p_187115_2_)
public void setPosition(double p_187109_1_, double p_187109_3_, double p_187109_5_)
public void moveEntity(double x, double y, double z)
protected void resetPositionToBB()
public int getBrightnessForRender(float p_189214_1_)
public boolean isAlive()
public AxisAlignedBB getEntityBoundingBox()
public void setEntityBoundingBox(AxisAlignedBB p_187108_1_)