@Environment(value=CLIENT) public class AscendingParticle extends SpriteBillboardParticle
Modifier and Type | Field and Description |
---|---|
private double |
ascendingAcceleration |
private SpriteProvider |
spriteProvider |
sprite
scale
age, angle, collidesWithWorld, colorAlpha, colorBlue, colorGreen, colorRed, dead, gravityStrength, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, spacingXZ, spacingY, velocityX, velocityY, velocityZ, world, x, y, z
Modifier | Constructor and Description |
---|---|
protected |
AscendingParticle(ClientWorld world,
double x,
double y,
double z,
float randomVelocityXMultiplier,
float randomVelocityYMultiplier,
float randomVelocityZMultiplier,
double velocityX,
double velocityY,
double velocityZ,
float scaleMultiplier,
SpriteProvider spriteProvider,
float colorMultiplier,
int baseMaxAge,
double ascendingAcceleration,
boolean collidesWithWorld) |
Modifier and Type | Method and Description |
---|---|
float |
getSize(float tickDelta) |
ParticleTextureSheet |
getType() |
void |
tick() |
getMaxU, getMaxV, getMinU, getMinV, setSprite, setSprite, setSpriteForAge
buildGeometry, scale
getBoundingBox, getColorMultiplier, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, toString
private final SpriteProvider spriteProvider
private final double ascendingAcceleration
protected AscendingParticle(ClientWorld world, double x, double y, double z, float randomVelocityXMultiplier, float randomVelocityYMultiplier, float randomVelocityZMultiplier, double velocityX, double velocityY, double velocityZ, float scaleMultiplier, SpriteProvider spriteProvider, float colorMultiplier, int baseMaxAge, double ascendingAcceleration, boolean collidesWithWorld)
public ParticleTextureSheet getType()
public float getSize(float tickDelta)
getSize
in class BillboardParticle