Package net.minecraft.client.particle
Class DamageParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.DamageParticle
- Mappings:
Namespace Name named net/minecraft/client/particle/DamageParticleintermediary net/minecraft/class_657official hbt
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from class net.minecraft.client.particle.BillboardParticle
BillboardParticle.RenderType, BillboardParticle.RotatorNested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha -
Field Summary
Fields inherited from class net.minecraft.client.particle.BillboardParticle
alpha, blue, green, lastZRotation, red, scale, sprite, zRotation -
Constructor Summary
ConstructorsConstructorDescriptionDamageParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, Sprite sprite) -
Method Summary
Modifier and TypeMethodDescriptionfloatgetSize(float tickProgress) Returns the draw scale of this particle, which is used while rendering in.invalid reference
#buildGeometryvoidtick()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, render, render, renderVertex, scale, setAlpha, setColor, setSprite, textureSheet, toString, updateSpriteMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getBrightness, getGroup, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setMaxAge, setPos, setVelocity
-
Constructor Details
-
DamageParticle
DamageParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, Sprite sprite) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/particle/BillboardParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/client/texture/Sprite;)Vintermediary <init>Lnet/minecraft/class_3940;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_1058;)Vofficial <init>Lhdo;<init>(Lgzn;DDDDDDLico;)V
-
-
Method Details
-
getSize
public float getSize(float tickProgress) Returns the draw scale of this particle, which is used while rendering in.invalid reference
#buildGeometry- Overrides:
getSizein classBillboardParticle- Returns:
- the draw scale of this particle, which is used while rendering in
invalid reference
#buildGeometry - Mappings:
Namespace Name Mixin selector named getSizeLnet/minecraft/client/particle/BillboardParticle;getSize(F)Fintermediary method_18132Lnet/minecraft/class_3940;method_18132(F)Fofficial bLhdo;b(F)F
-
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. -
getRenderType
- Specified by:
getRenderTypein classBillboardParticle- Mappings:
Namespace Name Mixin selector named getRenderTypeLnet/minecraft/client/particle/BillboardParticle;getRenderType()Lnet/minecraft/client/particle/BillboardParticle$RenderType;intermediary method_74255Lnet/minecraft/class_3940;method_74255()Lnet/minecraft/class_3940$class_11941;official bLhdo;b()Lhdo$b;
-