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 official fxh$eintermediary net/minecraft/class_677$class_681named net/minecraft/client/particle/FireworksSparkParticle$FireworkParticle
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate final List<FireworkExplosionComponent> private static final double[][]private static final double[][]private booleanprivate final ParticleManagerFields 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
ConstructorsConstructorDescriptionFireworkParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, List<FireworkExplosionComponent> list) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddExplosionParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, IntList intList, IntList intList2, boolean trail, boolean flicker) private voidexplodeBall(double size, int amount, IntList intList, IntList intList2, boolean trail, boolean flicker) private voidexplodeBurst(IntList intList, IntList intList2, boolean trail, boolean flicker) private voidexplodeStar(double size, double[][] pattern, IntList intList, IntList intList2, boolean trail, boolean flicker, boolean keepShape) private booleanisFar()voidtick()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, getTypeMethods 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
-
field_49565
private static final double[][] field_49565- Mappings:
Namespace Name Mixin selector official aLfxh$e;a:[[Dintermediary field_49565Lnet/minecraft/class_677$class_681;field_49565:[[Dnamed field_49565Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;field_49565:[[D
-
field_49566
private static final double[][] field_49566- Mappings:
Namespace Name Mixin selector official bLfxh$e;b:[[Dintermediary field_49566Lnet/minecraft/class_677$class_681;field_49566:[[Dnamed field_49566Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;field_49566:[[D
-
age
private int age- Mappings:
Namespace Name Mixin selector official DLfxh$e;D:Iintermediary field_3808Lnet/minecraft/class_677$class_681;field_3808:Inamed ageLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;age:I
-
particleManager
- Mappings:
Namespace Name Mixin selector official ELfxh$e;E:Lfxy;intermediary field_3805Lnet/minecraft/class_677$class_681;field_3805:Lnet/minecraft/class_702;named particleManagerLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;particleManager:Lnet/minecraft/client/particle/ParticleManager;
-
explosions
- Mappings:
Namespace Name Mixin selector official FLfxh$e;F:Ljava/util/List;intermediary field_3806Lnet/minecraft/class_677$class_681;field_3806:Ljava/util/List;named explosionsLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explosions:Ljava/util/List;
-
flicker
private boolean flicker- Mappings:
Namespace Name Mixin selector official GLfxh$e;G:Zintermediary field_3807Lnet/minecraft/class_677$class_681;field_3807:Znamed flickerLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;flicker:Z
-
-
Constructor Details
-
FireworkParticle
public FireworkParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, List<FireworkExplosionComponent> list) - Mappings:
Namespace Name Mixin selector official <init>Lfxh$e;<init>(Lfuq;DDDDDDLfxy;Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_677$class_681;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_702;Ljava/util/List;)Vnamed <init>Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/particle/ParticleManager;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 official cLfxh$e;c()Zintermediary method_3029Lnet/minecraft/class_677$class_681;method_3029()Znamed isFarLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;isFar()Z
-
addExplosionParticle
private void addExplosionParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, IntList intList, IntList intList2, boolean trail, boolean flicker) - Mappings:
Namespace Name Mixin selector official aLfxh$e;a(DDDDDDLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)Vintermediary method_3030Lnet/minecraft/class_677$class_681;method_3030(DDDDDDLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)Vnamed addExplosionParticleLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;addExplosionParticle(DDDDDDLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
-
explodeBall
private void explodeBall(double size, int amount, IntList intList, IntList intList2, boolean trail, boolean flicker) - Mappings:
Namespace Name Mixin selector official aLfxh$e;a(DILit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)Vintermediary method_3031Lnet/minecraft/class_677$class_681;method_3031(DILit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)Vnamed explodeBallLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explodeBall(DILit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
-
explodeStar
private void explodeStar(double size, double[][] pattern, IntList intList, IntList intList2, boolean trail, boolean flicker, boolean keepShape) - Mappings:
Namespace Name Mixin selector official aLfxh$e;a(D[[DLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZZ)Vintermediary method_3028Lnet/minecraft/class_677$class_681;method_3028(D[[DLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZZ)Vnamed explodeStarLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explodeStar(D[[DLit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZZ)V
-
explodeBurst
- Mappings:
Namespace Name Mixin selector official aLfxh$e;a(Lit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)Vintermediary method_3032Lnet/minecraft/class_677$class_681;method_3032(Lit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)Vnamed explodeBurstLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explodeBurst(Lit/unimi/dsi/fastutil/ints/IntList;Lit/unimi/dsi/fastutil/ints/IntList;ZZ)V
-