@Environment(value=CLIENT) public abstract class SpriteBillboardParticle extends BillboardParticle
Modifier and Type | Field and Description |
---|---|
protected Sprite |
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 |
SpriteBillboardParticle(ClientWorld world,
double x,
double y,
double z) |
protected |
SpriteBillboardParticle(ClientWorld world,
double x,
double y,
double z,
double velocityX,
double velocityY,
double velocityZ) |
Modifier and Type | Method and Description |
---|---|
protected float |
getMaxU() |
protected float |
getMaxV() |
protected float |
getMinU() |
protected float |
getMinV() |
protected void |
setSprite(Sprite sprite) |
void |
setSprite(SpriteProvider spriteProvider) |
void |
setSpriteForAge(SpriteProvider spriteProvider) |
buildGeometry, getSize, scale
getBoundingBox, getColorMultiplier, getMaxAge, getType, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, tick, toString
protected Sprite sprite
protected SpriteBillboardParticle(ClientWorld world, double x, double y, double z)
protected SpriteBillboardParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
protected void setSprite(Sprite sprite)
protected float getMinU()
getMinU
in class BillboardParticle
protected float getMaxU()
getMaxU
in class BillboardParticle
protected float getMinV()
getMinV
in class BillboardParticle
protected float getMaxV()
getMaxV
in class BillboardParticle
public void setSprite(SpriteProvider spriteProvider)
public void setSpriteForAge(SpriteProvider spriteProvider)