Package net.minecraft.client.particle
Class BillboardParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
- Direct Known Subclasses:
SpriteBillboardParticle
@Environment(CLIENT) public abstract class BillboardParticle extends Particle
-
Field Summary
Fields Modifier and Type Field Description protected float
scale
Fields inherited from class net.minecraft.client.particle.Particle
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
-
Constructor Summary
Constructors Modifier Constructor 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)
-
Method Summary
Modifier and Type Method 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)
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getColorMultiplier, getMaxAge, getType, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, tick, toString
-
Field Details
-
scale
protected float scale
-
-
Constructor Details
-
BillboardParticle
-
BillboardParticle
protected BillboardParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
-
-
Method Details
-
buildGeometry
- Specified by:
buildGeometry
in classParticle
-
getSize
public float getSize(float tickDelta) -
scale
-
getMinU
protected abstract float getMinU() -
getMaxU
protected abstract float getMaxU() -
getMinV
protected abstract float getMinV() -
getMaxV
protected abstract float getMaxV()
-