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 egw$eintermediary net/minecraft/class_677$class_681named net/minecraft/client/particle/FireworksSparkParticle$FireworkParticle
-
Field Summary
Fields Modifier and Type Field Description private intageprivate ListTagexplosionsprivate booleanflickerprivate ParticleManagerparticleManagerFields inherited from class net.minecraft.client.particle.Particle
angle, collidesWithWorld, colorAlpha, colorBlue, colorGreen, colorRed, dead, field_28786, field_28787, gravityStrength, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, spacingXZ, spacingY, velocityX, velocityY, velocityZ, world, x, y, z -
Constructor Summary
Constructors Constructor Description FireworkParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, @Nullable CompoundTag tag) -
Method Summary
Modifier and Type Method Description private voidaddExplosionParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, int[] colors, int[] fadeColors, boolean trail, boolean flicker)private voidexplodeBall(double size, int amount, int[] colors, int[] fadeColors, boolean trail, boolean flicker)private voidexplodeBurst(int[] colors, int[] fadeColors, boolean trail, boolean flocker)private voidexplodeStar(double size, double[][] pattern, int[] colors, int[] fadeColors, boolean trail, boolean flicker, boolean keepShape)private booleanisFar()voidtick()Methods inherited from class net.minecraft.client.particle.NoRenderParticle
buildGeometry, getTypeMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getBrightness, getMaxAge, isAlive, markDead, method_34019, move, move, repositionFromBoundingBox, scale, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, toString
-
Field Details
-
age
private int age- Mappings:
Namespace Name Mixin selector official aLegw$e;a: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 bLegw$e;b:Lehk;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 DLegw$e;D:Lmx;intermediary field_3806Lnet/minecraft/class_677$class_681;field_3806:Lnet/minecraft/class_2499;named explosionsLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explosions:Lnet/minecraft/nbt/ListTag;
-
flicker
private boolean flicker- Mappings:
Namespace Name Mixin selector official ELegw$e;E: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, @Nullable @Nullable CompoundTag tag)- Mappings:
Namespace Name Mixin selector official <init>Legw$e;<init>(Lefs;DDDDDDLehk;Lmr;)Vintermediary <init>Lnet/minecraft/class_677$class_681;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_702;Lnet/minecraft/class_2487;)Vnamed <init>Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/particle/ParticleManager;Lnet/minecraft/nbt/CompoundTag;)V
-
-
Method Details
-
tick
public void tick() -
isFar
private boolean isFar()- Mappings:
Namespace Name Mixin selector official cLegw$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, int[] colors, int[] fadeColors, boolean trail, boolean flicker)- Mappings:
Namespace Name Mixin selector official aLegw$e;a(DDDDDD[I[IZZ)Vintermediary method_3030Lnet/minecraft/class_677$class_681;method_3030(DDDDDD[I[IZZ)Vnamed addExplosionParticleLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;addExplosionParticle(DDDDDD[I[IZZ)V
-
explodeBall
private void explodeBall(double size, int amount, int[] colors, int[] fadeColors, boolean trail, boolean flicker)- Mappings:
Namespace Name Mixin selector official aLegw$e;a(DI[I[IZZ)Vintermediary method_3031Lnet/minecraft/class_677$class_681;method_3031(DI[I[IZZ)Vnamed explodeBallLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explodeBall(DI[I[IZZ)V
-
explodeStar
private void explodeStar(double size, double[][] pattern, int[] colors, int[] fadeColors, boolean trail, boolean flicker, boolean keepShape)- Mappings:
Namespace Name Mixin selector official aLegw$e;a(D[[D[I[IZZZ)Vintermediary method_3028Lnet/minecraft/class_677$class_681;method_3028(D[[D[I[IZZZ)Vnamed explodeStarLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explodeStar(D[[D[I[IZZZ)V
-
explodeBurst
private void explodeBurst(int[] colors, int[] fadeColors, boolean trail, boolean flocker)- Mappings:
Namespace Name Mixin selector official aLegw$e;a([I[IZZ)Vintermediary method_3032Lnet/minecraft/class_677$class_681;method_3032([I[IZZ)Vnamed explodeBurstLnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explodeBurst([I[IZZ)V
-