Package net.minecraft.client.particle
Class FireworksSparkParticle.FireworkParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.NoRenderParticle
net.minecraft.client.particle.FireworksSparkParticle.FireworkParticle
- Enclosing class:
FireworksSparkParticle
@Environment(CLIENT)
public static class FireworksSparkParticle.FireworkParticle
extends NoRenderParticle
- Mappings:
Namespace Name named net/minecraft/client/particle/FireworksSparkParticle$FireworkParticle
intermediary net/minecraft/class_677$class_681
official gbx$e
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private static final double[][]
private final List
<FireworkExplosionComponent> private boolean
private final ParticleManager
private static final double[][]
Fields inherited from class net.minecraft.client.particle.Particle
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
ConstructorDescriptionFireworkParticle
(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, List<FireworkExplosionComponent> fireworkExplosions) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addExplosionParticle
(double x, double y, double z, double velocityX, double velocityY, double velocityZ, IntList colors, IntList targetColors, boolean trail, boolean flicker) private void
explodeBall
(double size, int amount, IntList colors, IntList targetColors, boolean trail, boolean flicker) private void
explodeBurst
(IntList colors, IntList targetColors, boolean trail, boolean flicker) private void
explodeStar
(double size, double[][] pattern, IntList colors, IntList targetColors, boolean trail, boolean flicker, boolean keepShape) private boolean
isFar()
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.NoRenderParticle
buildGeometry, getType
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getBrightness, getGroup, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, scale, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, toString
-
Field Details
-
CREEPER_PATTERN
private static final double[][] CREEPER_PATTERN- Mappings:
Namespace Name Mixin selector named CREEPER_PATTERN
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;CREEPER_PATTERN:[[D
intermediary field_49565
Lnet/minecraft/class_677$class_681;field_49565:[[D
official a
Lgbx$e;a:[[D
-
STAR_PATTERN
private static final double[][] STAR_PATTERN- Mappings:
Namespace Name Mixin selector named STAR_PATTERN
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;STAR_PATTERN:[[D
intermediary field_49566
Lnet/minecraft/class_677$class_681;field_49566:[[D
official b
Lgbx$e;b:[[D
-
age
private int age- Mappings:
Namespace Name Mixin selector named age
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;age:I
intermediary field_3808
Lnet/minecraft/class_677$class_681;field_3808:I
official D
Lgbx$e;D:I
-
particleManager
- Mappings:
Namespace Name Mixin selector named particleManager
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;particleManager:Lnet/minecraft/client/particle/ParticleManager;
intermediary field_3805
Lnet/minecraft/class_677$class_681;field_3805:Lnet/minecraft/class_702;
official E
Lgbx$e;E:Lgcp;
-
explosions
- Mappings:
Namespace Name Mixin selector named explosions
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explosions:Ljava/util/List;
intermediary field_3806
Lnet/minecraft/class_677$class_681;field_3806:Ljava/util/List;
official F
Lgbx$e;F:Ljava/util/List;
-
flicker
private boolean flicker- Mappings:
Namespace Name Mixin selector named flicker
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;flicker:Z
intermediary field_3807
Lnet/minecraft/class_677$class_681;field_3807:Z
official G
Lgbx$e;G:Z
-
-
Constructor Details
-
FireworkParticle
public FireworkParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, List<FireworkExplosionComponent> fireworkExplosions) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/particle/ParticleManager;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_677$class_681;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_702;Ljava/util/List;)V
official <init>
Lgbx$e;<init>(Lfzf;DDDDDDLgcp;Ljava/util/List;)V
-
-
Method Details
-
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. -
isFar
private boolean isFar()- Mappings:
Namespace Name Mixin selector named isFar
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;isFar()Z
intermediary method_3029
Lnet/minecraft/class_677$class_681;method_3029()Z
official c
Lgbx$e;c()Z
-
addExplosionParticle
private void addExplosionParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, IntList colors, IntList targetColors, boolean trail, boolean flicker) - Mappings:
Namespace Name Mixin selector named addExplosionParticle
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;addExplosionParticle(DDDDDDLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
intermediary method_3030
Lnet/minecraft/class_677$class_681;method_3030(DDDDDDLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
official a
Lgbx$e;a(DDDDDDLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
-
explodeBall
private void explodeBall(double size, int amount, IntList colors, IntList targetColors, boolean trail, boolean flicker) - Mappings:
Namespace Name Mixin selector named explodeBall
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explodeBall(DILit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
intermediary method_3031
Lnet/minecraft/class_677$class_681;method_3031(DILit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
official a
Lgbx$e;a(DILit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
-
explodeStar
private void explodeStar(double size, double[][] pattern, IntList colors, IntList targetColors, boolean trail, boolean flicker, boolean keepShape) - Mappings:
Namespace Name Mixin selector named explodeStar
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explodeStar(D[[DLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZZ)V
intermediary method_3028
Lnet/minecraft/class_677$class_681;method_3028(D[[DLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZZ)V
official a
Lgbx$e;a(D[[DLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZZ)V
-
explodeBurst
- Mappings:
Namespace Name Mixin selector named explodeBurst
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explodeBurst(Lit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
intermediary method_3032
Lnet/minecraft/class_677$class_681;method_3032(Lit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
official a
Lgbx$e;a(Lit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
-