Package net.minecraft.client.particle
Class DustColorTransitionParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.SpriteBillboardParticle
net.minecraft.client.particle.AbstractDustParticle<DustColorTransitionParticleEffect>
net.minecraft.client.particle.DustColorTransitionParticle
@Environment(CLIENT)
public class DustColorTransitionParticle
extends AbstractDustParticle<DustColorTransitionParticleEffect>
- Mappings:
Namespace Name official fff
intermediary net/minecraft/class_5734
named net/minecraft/client/particle/DustColorTransitionParticle
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.client.particle.SpriteBillboardParticle
sprite
Fields inherited from class net.minecraft.client.particle.BillboardParticle
scale
Fields inherited from class net.minecraft.client.particle.Particle
age, alpha, angle, blue, collidesWithWorld, dead, field_28787, gravityStrength, green, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, red, spacingXZ, spacingY, velocityMultiplier, velocityX, velocityY, velocityZ, world, x, y, z
-
Constructor Summary
ModifierConstructorDescriptionprotected
DustColorTransitionParticle
(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, DustColorTransitionParticleEffect parameters, SpriteProvider spriteProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildGeometry
(VertexConsumer vertexConsumer, Camera camera, float tickDelta) Renders this particle to the givenVertexConsumer
buffer.private Vector3f
private void
updateColor
(float tickDelta) Methods inherited from class net.minecraft.client.particle.AbstractDustParticle
darken, getSize, getType, tick
Methods inherited from class net.minecraft.client.particle.SpriteBillboardParticle
getMaxU, getMaxV, getMinU, getMinV, setSprite, setSprite, setSpriteForAge
Methods inherited from class net.minecraft.client.particle.BillboardParticle
scale
Methods 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
-
startColor
- Mappings:
Namespace Name Mixin selector official a
Lfff;a:Lorg/joml/Vector3f;
intermediary field_28244
Lnet/minecraft/class_5734;field_28244:Lorg/joml/Vector3f;
named startColor
Lnet/minecraft/client/particle/DustColorTransitionParticle;startColor:Lorg/joml/Vector3f;
-
endColor
- Mappings:
Namespace Name Mixin selector official b
Lfff;b:Lorg/joml/Vector3f;
intermediary field_28245
Lnet/minecraft/class_5734;field_28245:Lorg/joml/Vector3f;
named endColor
Lnet/minecraft/client/particle/DustColorTransitionParticle;endColor:Lorg/joml/Vector3f;
-
-
Constructor Details
-
DustColorTransitionParticle
protected DustColorTransitionParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, DustColorTransitionParticleEffect parameters, SpriteProvider spriteProvider) - Mappings:
Namespace Name Mixin selector official <init>
Lfff;<init>(Lfdj;DDDDDDLin;Lfgt;)V
intermediary <init>
Lnet/minecraft/class_5734;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_5743;Lnet/minecraft/class_4002;)V
named <init>
Lnet/minecraft/client/particle/DustColorTransitionParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/particle/DustColorTransitionParticleEffect;Lnet/minecraft/client/particle/SpriteProvider;)V
-
-
Method Details
-
darken
- Mappings:
Namespace Name Mixin selector official a
Lfff;a(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;
intermediary method_33073
Lnet/minecraft/class_5734;method_33073(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;
named darken
Lnet/minecraft/client/particle/DustColorTransitionParticle;darken(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;
-
updateColor
private void updateColor(float tickDelta) - Mappings:
Namespace Name Mixin selector official f
Lfff;f(F)V
intermediary method_33074
Lnet/minecraft/class_5734;method_33074(F)V
named updateColor
Lnet/minecraft/client/particle/DustColorTransitionParticle;updateColor(F)V
-
buildGeometry
Renders this particle to the givenVertexConsumer
buffer.- Overrides:
buildGeometry
in classBillboardParticle
- Parameters:
vertexConsumer
- the buffer to render tocamera
- the current active gameCamera
tickDelta
- frame tick delta amount- Mappings:
Namespace Name Mixin selector official a
Lffy;a(Lehi;Lelt;F)V
intermediary method_3074
Lnet/minecraft/class_703;method_3074(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)V
named buildGeometry
Lnet/minecraft/client/particle/Particle;buildGeometry(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;F)V
-