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 ekq$e
intermediary net/minecraft/class_677$class_681
named net/minecraft/client/particle/FireworksSparkParticle$FireworkParticle
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private NbtList
private boolean
private ParticleManager
Fields 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
ConstructorsConstructorDescriptionFireworkParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, ParticleManager particleManager, @Nullable NbtCompound nbt)
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addExplosionParticle(double x, double y, double z, double velocityX, double velocityY, double velocityZ, int[] colors, int[] fadeColors, boolean trail, boolean flicker)
private void
explodeBall(double size, int amount, int[] colors, int[] fadeColors, boolean trail, boolean flicker)
private void
explodeBurst(int[] colors, int[] fadeColors, boolean trail, boolean flocker)
private void
explodeStar(double size, double[][] pattern, int[] colors, int[] fadeColors, boolean trail, boolean flicker, boolean keepShape)
private boolean
isFar()
void
tick()
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, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, setVelocity, toString
-
Field Details
-
age
private int age- Mappings:
Namespace Name Mixin selector official a
Lekq$e;a:I
intermediary field_3808
Lnet/minecraft/class_677$class_681;field_3808:I
named age
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;age:I
-
particleManager
- Mappings:
Namespace Name Mixin selector official b
Lekq$e;b:Lele;
intermediary field_3805
Lnet/minecraft/class_677$class_681;field_3805:Lnet/minecraft/class_702;
named particleManager
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;particleManager:Lnet/minecraft/client/particle/ParticleManager;
-
explosions
- Mappings:
Namespace Name Mixin selector official D
Lekq$e;D:Lng;
intermediary field_3806
Lnet/minecraft/class_677$class_681;field_3806:Lnet/minecraft/class_2499;
named explosions
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explosions:Lnet/minecraft/nbt/NbtList;
-
flicker
private boolean flicker- Mappings:
Namespace Name Mixin selector official E
Lekq$e;E:Z
intermediary field_3807
Lnet/minecraft/class_677$class_681;field_3807:Z
named flicker
Lnet/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 NbtCompound nbt)- Mappings:
Namespace Name Mixin selector official <init>
Lekq$e;<init>(Lejh;DDDDDDLele;Lna;)V
intermediary <init>
Lnet/minecraft/class_677$class_681;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_702;Lnet/minecraft/class_2487;)V
named <init>
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/particle/ParticleManager;Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
tick
public void tick() -
isFar
private boolean isFar()- Mappings:
Namespace Name Mixin selector official c
Lekq$e;c()Z
intermediary method_3029
Lnet/minecraft/class_677$class_681;method_3029()Z
named isFar
Lnet/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 a
Lekq$e;a(DDDDDD[I[IZZ)V
intermediary method_3030
Lnet/minecraft/class_677$class_681;method_3030(DDDDDD[I[IZZ)V
named addExplosionParticle
Lnet/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 a
Lekq$e;a(DI[I[IZZ)V
intermediary method_3031
Lnet/minecraft/class_677$class_681;method_3031(DI[I[IZZ)V
named explodeBall
Lnet/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 a
Lekq$e;a(D[[D[I[IZZZ)V
intermediary method_3028
Lnet/minecraft/class_677$class_681;method_3028(D[[D[I[IZZZ)V
named explodeStar
Lnet/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 a
Lekq$e;a([I[IZZ)V
intermediary method_3032
Lnet/minecraft/class_677$class_681;method_3032([I[IZZ)V
named explodeBurst
Lnet/minecraft/client/particle/FireworksSparkParticle$FireworkParticle;explodeBurst([I[IZZ)V
-