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