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 named net/minecraft/client/particle/FireworksSparkParticle$Explosion
intermediary net/minecraft/class_677$class_680
official gib$c
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.particle.BillboardParticle
BillboardParticle.Rotator
Nested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha
-
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, ascending, blue, collidesWithWorld, dead, 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
getRotator, getSize, method_60373, method_60374, 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 named trail
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;trail:Z
intermediary field_3804
Lnet/minecraft/class_677$class_680;field_3804:Z
official b
Lgib$c;b:Z
-
flicker
private boolean flicker- Mappings:
Namespace Name Mixin selector named flicker
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;flicker:Z
intermediary field_3803
Lnet/minecraft/class_677$class_680;field_3803:Z
official F
Lgib$c;F:Z
-
particleManager
- Mappings:
Namespace Name Mixin selector named particleManager
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;particleManager:Lnet/minecraft/client/particle/ParticleManager;
intermediary field_3798
Lnet/minecraft/class_677$class_680;field_3798:Lnet/minecraft/class_702;
official G
Lgib$c;G:Lgit;
-
field_3801
private float field_3801- Mappings:
Namespace Name Mixin selector named field_3801
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;field_3801:F
intermediary field_3801
Lnet/minecraft/class_677$class_680;field_3801:F
official H
Lgib$c;H:F
-
field_3800
private float field_3800- Mappings:
Namespace Name Mixin selector named field_3800
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;field_3800:F
intermediary field_3800
Lnet/minecraft/class_677$class_680;field_3800:F
official I
Lgib$c;I:F
-
field_3799
private float field_3799- Mappings:
Namespace Name Mixin selector named field_3799
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;field_3799:F
intermediary field_3799
Lnet/minecraft/class_677$class_680;field_3799:F
official J
Lgib$c;J:F
-
field_3802
private boolean field_3802- Mappings:
Namespace Name Mixin selector named field_3802
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;field_3802:Z
intermediary field_3802
Lnet/minecraft/class_677$class_680;field_3802:Z
official K
Lgib$c;K: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 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
intermediary <init>
Lnet/minecraft/class_677$class_680;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_702;Lnet/minecraft/class_4002;)V
official <init>
Lgib$c;<init>(Lgfj;DDDDDDLgit;Lgjm;)V
-
-
Method Details
-
setTrail
public void setTrail(boolean trail) - Mappings:
Namespace Name Mixin selector named setTrail
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;setTrail(Z)V
intermediary method_3027
Lnet/minecraft/class_677$class_680;method_3027(Z)V
official a
Lgib$c;a(Z)V
-
setFlicker
public void setFlicker(boolean flicker) - Mappings:
Namespace Name Mixin selector named setFlicker
Lnet/minecraft/client/particle/FireworksSparkParticle$Explosion;setFlicker(Z)V
intermediary method_3026
Lnet/minecraft/class_677$class_680;method_3026(Z)V
official b
Lgib$c;b(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 named buildGeometry
Lnet/minecraft/client/particle/Particle;buildGeometry(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;F)V
intermediary method_3074
Lnet/minecraft/class_703;method_3074(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)V
official a
Lgir;a(Lfgv;Lflo;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 named tick
Lnet/minecraft/client/particle/Particle;tick()V
intermediary method_3070
Lnet/minecraft/class_703;method_3070()V
official a
Lgir;a()V
-