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
- Mappings:
Namespace Name official ffm$c
intermediary net/minecraft/class_677$class_680
named net/minecraft/client/particle/FireworksSparkParticle$Explosion
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private float
private float
private boolean
private boolean
private final ParticleManager
private boolean
Fields inherited from class net.minecraft.client.particle.AnimatedParticle
spriteProvider
Fields inherited from class net.minecraft.client.particle.SpriteBillboardParticle
sprite
Fields inherited from class net.minecraft.client.particle.BillboardParticle
scale
Fields inherited from class net.minecraft.client.particle.Particle
age, alpha, angle, blue, collidesWithWorld, dead, field_28787, gravityStrength, green, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, red, spacingXZ, spacingY, velocityMultiplier, velocityX, velocityY, velocityZ, world, x, y, z
-
Constructor Summary
ConstructorDescriptionExplosion
(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, SpriteProvider spriteProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildGeometry
(VertexConsumer vertexConsumer, Camera camera, float tickDelta) Renders this particle to the givenVertexConsumer
buffer.void
setFlicker
(boolean flicker) void
setTrail
(boolean trail) void
tick()
Called each game tick (20 times per second), and should be used to do core particle logic, such as movement and collision.Methods inherited from class net.minecraft.client.particle.AnimatedParticle
getBrightness, getType, setColor, setTargetColor
Methods inherited from class net.minecraft.client.particle.SpriteBillboardParticle
getMaxU, getMaxV, getMinU, getMinV, setSprite, setSprite, setSpriteForAge
Methods inherited from class net.minecraft.client.particle.BillboardParticle
getSize, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getGroup, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, toString
-
Field Details
-
trail
private boolean trail- Mappings:
Namespace Name Mixin selector official b
Lffm$c;b:Z
intermediary field_3804
Lnet/minecraft/class_677$class_680;field_3804:Z
named trail
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;trail:Z
-
flicker
private boolean flicker- Mappings:
Namespace Name Mixin selector official F
Lffm$c;F:Z
intermediary field_3803
Lnet/minecraft/class_677$class_680;field_3803:Z
named flicker
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;flicker:Z
-
particleManager
- Mappings:
Namespace Name Mixin selector official G
Lffm$c;G:Lfga;
intermediary field_3798
Lnet/minecraft/class_677$class_680;field_3798:Lnet/minecraft/class_702;
named particleManager
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;particleManager:Lnet/minecraft/client/particle/ParticleManager;
-
field_3801
private float field_3801- Mappings:
Namespace Name Mixin selector official H
Lffm$c;H:F
intermediary field_3801
Lnet/minecraft/class_677$class_680;field_3801:F
named field_3801
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;field_3801:F
-
field_3800
private float field_3800- Mappings:
Namespace Name Mixin selector official I
Lffm$c;I:F
intermediary field_3800
Lnet/minecraft/class_677$class_680;field_3800:F
named field_3800
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;field_3800:F
-
field_3799
private float field_3799- Mappings:
Namespace Name Mixin selector official J
Lffm$c;J:F
intermediary field_3799
Lnet/minecraft/class_677$class_680;field_3799:F
named field_3799
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;field_3799:F
-
field_3802
private boolean field_3802- Mappings:
Namespace Name Mixin selector official K
Lffm$c;K:Z
intermediary field_3802
Lnet/minecraft/class_677$class_680;field_3802:Z
named field_3802
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;field_3802:Z
-
-
Constructor Details
-
Explosion
Explosion(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, SpriteProvider spriteProvider) - Mappings:
Namespace Name Mixin selector official <init>
Lffm$c;<init>(Lfdj;DDDDDDLfga;Lfgt;)V
intermediary <init>
Lnet/minecraft/class_677$class_680;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_702;Lnet/minecraft/class_4002;)V
named <init>
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/particle/ParticleManager;Lnet/minecraft/client/particle/SpriteProvider;)V
-
-
Method Details
-
setTrail
public void setTrail(boolean trail) - Mappings:
Namespace Name Mixin selector official a
Lffm$c;a(Z)V
intermediary method_3027
Lnet/minecraft/class_677$class_680;method_3027(Z)V
named setTrail
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;setTrail(Z)V
-
setFlicker
public void setFlicker(boolean flicker) - Mappings:
Namespace Name Mixin selector official b
Lffm$c;b(Z)V
intermediary method_3026
Lnet/minecraft/class_677$class_680;method_3026(Z)V
named setFlicker
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;setFlicker(Z)V
-
buildGeometry
Renders this particle to the givenVertexConsumer
buffer.- Overrides:
buildGeometry
in classBillboardParticle
- Parameters:
vertexConsumer
- the buffer to render tocamera
- the current active gameCamera
tickDelta
- frame tick delta amount- Mappings:
Namespace Name Mixin selector official a
Lffy;a(Lehi;Lelt;F)V
intermediary method_3074
Lnet/minecraft/class_703;method_3074(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)V
named buildGeometry
Lnet/minecraft/client/particle/Particle;buildGeometry(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;F)V
-
tick
public void tick()Called each game tick (20 times per second), and should be used to do core particle logic, such as movement and collision.- Overrides:
tick
in classAnimatedParticle
- Mappings:
Namespace Name Mixin selector official a
Lffy;a()V
intermediary method_3070
Lnet/minecraft/class_703;method_3070()V
named tick
Lnet/minecraft/client/particle/Particle;tick()V
-