Package net.minecraft.client.particle
Class DustParticleBase<T extends ScalableParticleOptionsBase>
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.DustParticleBase<T>
- Direct Known Subclasses:
DustColorTransitionParticle
,DustParticle
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.particle.SingleQuadParticle
SingleQuadParticle.FacingCameraMode
Nested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.LifetimeAlpha
-
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
DustParticleBase
(ClientLevel p_172094_, double p_172095_, double p_172096_, double p_172097_, double p_172098_, double p_172099_, double p_172100_, T p_341669_, SpriteSet p_172102_) -
Method Summary
Modifier and TypeMethodDescriptionfloat
getQuadSize
(float p_172109_) protected float
randomizeColor
(float p_172105_, float p_172106_) void
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
getFacingCameraMode, getRenderBoundingBox, render, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getLightColor, getParticleGroup, getPos, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, toString
-
Field Details
-
sprites
-
-
Constructor Details
-
DustParticleBase
protected DustParticleBase(ClientLevel p_172094_, double p_172095_, double p_172096_, double p_172097_, double p_172098_, double p_172099_, double p_172100_, T p_341669_, SpriteSet p_172102_)
-
-
Method Details
-
randomizeColor
protected float randomizeColor(float p_172105_, float p_172106_) -
getRenderType
- Specified by:
getRenderType
in classParticle
-
getQuadSize
public float getQuadSize(float p_172109_) - Overrides:
getQuadSize
in classSingleQuadParticle
-
tick
public void tick()
-