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
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 Vector3f
randomizeColor
(Vector3f p_172067_, float p_172068_) 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
-
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
-
lerpColors
private void lerpColors(float p_172070_) -
render
- Overrides:
render
in classSingleQuadParticle
-