Package net.minecraft.client.particle
Class FireworksSparkParticle.Explosion
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.SpriteBillboardParticle
net.minecraft.client.particle.AnimatedParticle
net.minecraft.client.particle.FireworksSparkParticle.Explosion
- Enclosing class:
- FireworksSparkParticle
@Environment(CLIENT) static class FireworksSparkParticle.Explosion extends AnimatedParticle
-
Field Summary
Fields Modifier and Type Field Description private floatfield_3799private floatfield_3800private floatfield_3801private booleanfield_3802private booleanflickerprivate ParticleManagerparticleManagerprivate booleantrailFields inherited from class net.minecraft.client.particle.AnimatedParticle
spriteProviderFields inherited from class net.minecraft.client.particle.SpriteBillboardParticle
spriteFields inherited from class net.minecraft.client.particle.BillboardParticle
scaleFields 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 privateExplosion(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, SpriteProvider spriteProvider) -
Method Summary
Modifier and Type Method Description voidbuildGeometry(VertexConsumer vertexConsumer, Camera camera, float tickDelta)voidsetFlicker(boolean flicker)voidsetTrail(boolean trail)voidtick()Methods inherited from class net.minecraft.client.particle.AnimatedParticle
getColorMultiplier, getType, setColor, setResistance, setTargetColorMethods inherited from class net.minecraft.client.particle.SpriteBillboardParticle
getMaxU, getMaxV, getMinU, getMinV, setSprite, setSprite, setSpriteForAgeMethods inherited from class net.minecraft.client.particle.BillboardParticle
getSize, scaleMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, toString
-
Field Details
-
trail
private boolean trail -
flicker
private boolean flicker -
particleManager
-
field_3801
private float field_3801 -
field_3800
private float field_3800 -
field_3799
private float field_3799 -
field_3802
private boolean field_3802
-
-
Constructor Details
-
Explosion
private Explosion(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, SpriteProvider spriteProvider)
-
-
Method Details
-
setTrail
public void setTrail(boolean trail) -
setFlicker
public void setFlicker(boolean flicker) -
buildGeometry
- Overrides:
buildGeometryin classBillboardParticle
-
tick
public void tick()- Overrides:
tickin classAnimatedParticle
-