Package net.minecraft.client.particle
Class GustDustParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.SpriteBillboardParticle
net.minecraft.client.particle.GustDustParticle
- Mappings:
Namespace Name official fqjintermediary net/minecraft/class_8975named net/minecraft/client/particle/GustDustParticle
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.particle.BillboardParticle
BillboardParticle.Rotator -
Field Summary
FieldsFields inherited from class net.minecraft.client.particle.SpriteBillboardParticle
spriteFields inherited from class net.minecraft.client.particle.BillboardParticle
scaleFields 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
ConstructorsConstructorDescriptionGustDustParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildGeometry(VertexConsumer vertexConsumer, Camera camera, float tickDelta) Renders this particle to the givenVertexConsumerbuffer.getType()Returns the rendering category this particle is rendered under.private voidlerpColor(float tickDelta) 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.SpriteBillboardParticle
getMaxU, getMaxV, getMinU, getMinV, setSprite, setSprite, setSpriteForAgeMethods inherited from class net.minecraft.client.particle.BillboardParticle
getRotator, getSize, scaleMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getBrightness, getGroup, getMaxAge, isAlive, markDead, move, move, repositionFromBoundingBox, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, toString
-
Field Details
-
START_COLOR
- Mappings:
Namespace Name Mixin selector official aLfqj;a:Lorg/joml/Vector3f;intermediary field_47451Lnet/minecraft/class_8975;field_47451:Lorg/joml/Vector3f;named START_COLORLnet/minecraft/client/particle/GustDustParticle;START_COLOR:Lorg/joml/Vector3f;
-
END_COLOR
- Mappings:
Namespace Name Mixin selector official bLfqj;b:Lorg/joml/Vector3f;intermediary field_47452Lnet/minecraft/class_8975;field_47452:Lorg/joml/Vector3f;named END_COLORLnet/minecraft/client/particle/GustDustParticle;END_COLOR:Lorg/joml/Vector3f;
-
-
Constructor Details
-
GustDustParticle
GustDustParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ) - Mappings:
Namespace Name Mixin selector official <init>Lfqv;<init>(Lfns;DDDDDD)Vintermediary <init>Lnet/minecraft/class_703;<init>(Lnet/minecraft/class_638;DDDDDD)Vnamed <init>Lnet/minecraft/client/particle/Particle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDD)V
-
-
Method Details
-
buildGeometry
Renders this particle to the givenVertexConsumerbuffer.- Overrides:
buildGeometryin classBillboardParticle- Parameters:
vertexConsumer- the buffer to render tocamera- the current active gameCameratickDelta- frame tick delta amount- Mappings:
Namespace Name Mixin selector official aLfqv;a(Leqf;Leut;F)Vintermediary method_3074Lnet/minecraft/class_703;method_3074(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)Vnamed buildGeometryLnet/minecraft/client/particle/Particle;buildGeometry(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;F)V
-
lerpColor
private void lerpColor(float tickDelta) - Mappings:
Namespace Name Mixin selector official fLfqj;f(F)Vintermediary method_55241Lnet/minecraft/class_8975;method_55241(F)Vnamed lerpColorLnet/minecraft/client/particle/GustDustParticle;lerpColor(F)V
-
getType
Returns the rendering category this particle is rendered under.For more information on the properties and types available to each
Particle, visitParticleTextureSheet.- Specified by:
getTypein classParticle- Returns:
- the rendering category this particle is rendered under
- Mappings:
Namespace Name Mixin selector official bLfqv;b()Lfqz;intermediary method_18122Lnet/minecraft/class_703;method_18122()Lnet/minecraft/class_3999;named getTypeLnet/minecraft/client/particle/Particle;getType()Lnet/minecraft/client/particle/ParticleTextureSheet;
-
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.
-