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 named net/minecraft/client/particle/DustColorTransitionParticleintermediary net/minecraft/class_5734official gny
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.particle.BillboardParticle
BillboardParticle.RotatorNested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.DynamicAlpha -
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, lastAngle, lastX, lastY, lastZ, maxAge, onGround, random, red, spacingXZ, spacingY, velocityMultiplier, velocityX, velocityY, velocityZ, world, x, y, z -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDustColorTransitionParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, DustColorTransitionParticleEffect parameters, SpriteProvider spriteProvider) -
Method Summary
Modifier and TypeMethodDescriptionprivate Vector3fvoidrender(VertexConsumer vertexConsumer, Camera camera, float tickProgress) Renders this particle to the givenVertexConsumerbuffer.private voidupdateColor(float tickProgress) Methods inherited from class net.minecraft.client.particle.AbstractDustParticle
darken, getSize, getType, tickMethods inherited from class net.minecraft.client.particle.SpriteBillboardParticle
getMaxU, getMaxV, getMinU, getMinV, setSprite, setSprite, setSpriteForAgeMethods inherited from class net.minecraft.client.particle.BillboardParticle
getRotator, render, render, scaleMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getBrightness, getGroup, getMaxAge, isAlive, markDead, move, move, renderCustom, repositionFromBoundingBox, setAlpha, setBoundingBox, setBoundingBoxSpacing, setColor, setMaxAge, setPos, setVelocity, toString
-
Field Details
-
startColor
- Mappings:
Namespace Name Mixin selector named startColorLnet/minecraft/client/particle/DustColorTransitionParticle;startColor:Lorg/joml/Vector3f;intermediary field_28244Lnet/minecraft/class_5734;field_28244:Lorg/joml/Vector3f;official aLgny;a:Lorg/joml/Vector3f;
-
endColor
- Mappings:
Namespace Name Mixin selector named endColorLnet/minecraft/client/particle/DustColorTransitionParticle;endColor:Lorg/joml/Vector3f;intermediary field_28245Lnet/minecraft/class_5734;field_28245:Lorg/joml/Vector3f;official bLgny;b: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 named <init>Lnet/minecraft/client/particle/DustColorTransitionParticle;<init>(Lnet/minecraft/client/world/ClientWorld;DDDDDDLnet/minecraft/particle/DustColorTransitionParticleEffect;Lnet/minecraft/client/particle/SpriteProvider;)Vintermediary <init>Lnet/minecraft/class_5734;<init>(Lnet/minecraft/class_638;DDDDDDLnet/minecraft/class_5743;Lnet/minecraft/class_4002;)Vofficial <init>Lgny;<init>(Lglo;DDDDDDLlt;Lgps;)V
-
-
Method Details
-
darken
- Mappings:
Namespace Name Mixin selector named darkenLnet/minecraft/client/particle/DustColorTransitionParticle;darken(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;intermediary method_33073Lnet/minecraft/class_5734;method_33073(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;official aLgny;a(Lorg/joml/Vector3f;F)Lorg/joml/Vector3f;
-
updateColor
private void updateColor(float tickProgress) - Mappings:
Namespace Name Mixin selector named updateColorLnet/minecraft/client/particle/DustColorTransitionParticle;updateColor(F)Vintermediary method_33074Lnet/minecraft/class_5734;method_33074(F)Vofficial fLgny;f(F)V
-
render
Renders this particle to the givenVertexConsumerbuffer. Particles using theParticleTextureSheet.CUSTOMsheet should implement this with an empty method, and instead render inParticle.renderCustom(net.minecraft.client.util.math.MatrixStack, net.minecraft.client.render.VertexConsumerProvider, net.minecraft.client.render.Camera, float).- Overrides:
renderin classBillboardParticle- Parameters:
vertexConsumer- the buffer to render tocamera- the current active gameCamera- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/particle/Particle;render(Lnet/minecraft/client/render/VertexConsumer;Lnet/minecraft/client/render/Camera;F)Vintermediary method_3074Lnet/minecraft/class_703;method_3074(Lnet/minecraft/class_4588;Lnet/minecraft/class_4184;F)Vofficial aLgox;a(Lflg;Lfpy;F)V
-