@Environment(value=CLIENT) public class PortalParticle extends SpriteBillboardParticle
Modifier and Type | Class and Description |
---|---|
static class |
PortalParticle.Factory |
Modifier and Type | Field and Description |
---|---|
private double |
startX |
private double |
startY |
private double |
startZ |
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 |
PortalParticle(ClientWorld world,
double x,
double y,
double z,
double velocityX,
double velocityY,
double velocityZ) |
Modifier and Type | Method and Description |
---|---|
int |
getColorMultiplier(float tint) |
float |
getSize(float tickDelta) |
ParticleTextureSheet |
getType() |
void |
move(double dx,
double dy,
double dz) |
void |
tick() |
getMaxU, getMaxV, getMinU, getMinV, setSprite, setSprite, setSpriteForAge
buildGeometry, scale
getBoundingBox, getMaxAge, isAlive, markDead, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, toString
private final double startX
private final double startY
private final double startZ
protected PortalParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
public ParticleTextureSheet getType()
public float getSize(float tickDelta)
getSize
in class BillboardParticle
public int getColorMultiplier(float tint)
getColorMultiplier
in class Particle