Package net.minecraft.client.particle
Class TrailParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.TrailParticle
- Mappings:
Namespace Name named net/minecraft/client/particle/TrailParticleintermediary net/minecraft/class_10335official hdf
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.particle.BillboardParticle
BillboardParticle.class_11941, BillboardParticle.RotatorNested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha -
Field Summary
FieldsFields inherited from class net.minecraft.client.particle.BillboardParticle
field_62632, field_62633, field_62634, field_62635, field_62636, field_62637, field_62638, scale -
Constructor Summary
ConstructorsConstructorDescriptionTrailParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, Vec3d target, int color, Sprite sprite) -
Method Summary
Modifier and TypeMethodDescriptionintgetBrightness(float tint) Returns the packed light level this particle should render at.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.BillboardParticle
getMaxU, getMaxV, getMinU, getMinV, getRotator, getSize, method_74274, method_74305, method_74306, method_74307, method_74308, render, render, renderVertex, scale, toStringMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getGroup, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setMaxAge, setPos, setVelocity
-
Field Details
-
target
- Mappings:
Namespace Name Mixin selector named targetLnet/minecraft/client/particle/TrailParticle;target:Lnet/minecraft/util/math/Vec3d;intermediary field_54855Lnet/minecraft/class_10335;field_54855:Lnet/minecraft/class_243;official aLhdf;a:Lfnk;
-
-
Constructor Details
-
TrailParticle
TrailParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, Vec3d target, int color, Sprite sprite) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/particle/TrailParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/util/math/Vec3d;ILnet/minecraft/client/texture/Sprite;)Vintermediary <init>Lnet/minecraft/class_10335;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_243;ILnet/minecraft/class_1058;)Vofficial <init>Lhdf;<init>(Lgyo;DDDDDDLfnk;ILibj;)V
-
-
Method Details
-
method_74255
- Specified by:
method_74255in classBillboardParticle- Mappings:
Namespace Name Mixin selector named method_74255Lnet/minecraft/client/particle/BillboardParticle;method_74255()Lnet/minecraft/client/particle/BillboardParticle$class_11941;intermediary method_74255Lnet/minecraft/class_3940;method_74255()Lnet/minecraft/class_3940$class_11941;official bLhcq;b()Lhcq$b;
-
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. -
getBrightness
public int getBrightness(float tint) Returns the packed light level this particle should render at.- Overrides:
getBrightnessin classParticle- Returns:
- the packed light level this particle should render at
- See Also:
- Mappings:
Namespace Name Mixin selector named getBrightnessLnet/minecraft/client/particle/Particle;getBrightness(F)Iintermediary method_3068Lnet/minecraft/class_703;method_3068(F)Iofficial aLhca;a(F)I
-