Package net.minecraft.client.particle
Class DustColorTransitionParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.DustParticleBase<DustColorTransitionOptions>
net.minecraft.client.particle.DustColorTransitionParticle
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.joml.Vector3f
private final org.joml.Vector3f
Fields inherited from class net.minecraft.client.particle.TextureSheetParticle
sprite
Fields inherited from class net.minecraft.client.particle.SingleQuadParticle
quadSize
-
Constructor Summary
ModifierConstructorDescriptionprotected
DustColorTransitionParticle
(ClientLevel p_172053_, double p_172054_, double p_172055_, double p_172056_, double p_172057_, double p_172058_, double p_172059_, DustColorTransitionOptions p_172060_, SpriteSet p_172061_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
lerpColors
(float p_172070_) private org.joml.Vector3f
randomizeColor
(org.joml.Vector3f p_254318_, float p_254472_) void
render
(VertexConsumer p_172063_, Camera p_172064_, float p_172065_) Methods inherited from class net.minecraft.client.particle.DustParticleBase
getQuadSize, getRenderType, randomizeColor, tick
Methods inherited from class net.minecraft.client.particle.TextureSheetParticle
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAge
Methods inherited from class net.minecraft.client.particle.SingleQuadParticle
scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getLightColor, getParticleGroup, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, toString
-
Field Details
-
fromColor
private final org.joml.Vector3f fromColor -
toColor
private final org.joml.Vector3f toColor
-
-
Constructor Details
-
DustColorTransitionParticle
protected DustColorTransitionParticle(ClientLevel p_172053_, double p_172054_, double p_172055_, double p_172056_, double p_172057_, double p_172058_, double p_172059_, DustColorTransitionOptions p_172060_, SpriteSet p_172061_)
-
-
Method Details
-
randomizeColor
private org.joml.Vector3f randomizeColor(org.joml.Vector3f p_254318_, float p_254472_) -
lerpColors
private void lerpColors(float p_172070_) -
render
- Overrides:
render
in classSingleQuadParticle
-