Package net.minecraft.client.particle
Class EmitterParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.NoRenderParticle
net.minecraft.client.particle.EmitterParticle
- Mappings:
Namespace Name official fio
intermediary net/minecraft/class_733
named net/minecraft/client/particle/EmitterParticle
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final Entity
private final int
private final ParticleEffect
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
ModifierConstructorDescriptionEmitterParticle
(ClientWorld world, Entity entity, ParticleEffect parameters) EmitterParticle
(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge) private
EmitterParticle
(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge, Vec3d velocity) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
entity
- Mappings:
Namespace Name Mixin selector official a
Lfio;a:Lbfj;
intermediary field_3894
Lnet/minecraft/class_733;field_3894:Lnet/minecraft/class_1297;
named entity
Lnet/minecraft/client/particle/EmitterParticle;entity:Lnet/minecraft/entity/Entity;
-
emitterAge
private int emitterAge- Mappings:
Namespace Name Mixin selector official b
Lfio;b:I
intermediary field_3896
Lnet/minecraft/class_733;field_3896:I
named emitterAge
Lnet/minecraft/client/particle/EmitterParticle;emitterAge:I
-
maxEmitterAge
private final int maxEmitterAge- Mappings:
Namespace Name Mixin selector official D
Lfio;D:I
intermediary field_3895
Lnet/minecraft/class_733;field_3895:I
named maxEmitterAge
Lnet/minecraft/client/particle/EmitterParticle;maxEmitterAge:I
-
parameters
- Mappings:
Namespace Name Mixin selector official E
Lfio;E:Lit;
intermediary field_3893
Lnet/minecraft/class_733;field_3893:Lnet/minecraft/class_2394;
named parameters
Lnet/minecraft/client/particle/EmitterParticle;parameters:Lnet/minecraft/particle/ParticleEffect;
-
-
Constructor Details
-
EmitterParticle
- Mappings:
Namespace Name Mixin selector official <init>
Lfio;<init>(Lfew;Lbfj;Lit;)V
intermediary <init>
Lnet/minecraft/class_733;<init>(Lnet/minecraft/class_638;Lnet/minecraft/class_1297;Lnet/minecraft/class_2394;)V
named <init>
Lnet/minecraft/client/particle/EmitterParticle;<init>(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/particle/ParticleEffect;)V
-
EmitterParticle
public EmitterParticle(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge) - Mappings:
Namespace Name Mixin selector official <init>
Lfio;<init>(Lfew;Lbfj;Lit;I)V
intermediary <init>
Lnet/minecraft/class_733;<init>(Lnet/minecraft/class_638;Lnet/minecraft/class_1297;Lnet/minecraft/class_2394;I)V
named <init>
Lnet/minecraft/client/particle/EmitterParticle;<init>(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/particle/ParticleEffect;I)V
-
EmitterParticle
private EmitterParticle(ClientWorld world, Entity entity, ParticleEffect parameters, int maxEmitterAge, Vec3d velocity) - Mappings:
Namespace Name Mixin selector official <init>
Lfio;<init>(Lfew;Lbfj;Lit;ILeei;)V
intermediary <init>
Lnet/minecraft/class_733;<init>(Lnet/minecraft/class_638;Lnet/minecraft/class_1297;Lnet/minecraft/class_2394;ILnet/minecraft/class_243;)V
named <init>
Lnet/minecraft/client/particle/EmitterParticle;<init>(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/Entity;Lnet/minecraft/particle/ParticleEffect;ILnet/minecraft/util/math/Vec3d;)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.
-