Class DustParticleBase<T extends ScalableParticleOptionsBase>
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.DustParticleBase<T>
- Direct Known Subclasses:
DustColorTransitionParticle, DustParticle
-
Nested Class Summary
Nested classes/interfaces inherited from class SingleQuadParticle
SingleQuadParticle.FacingCameraMode, SingleQuadParticle.LayerNested classes/interfaces inherited from class Particle
Particle.LifetimeAlpha -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDustParticleBase(ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, T options, SpriteSet sprites) -
Method Summary
Modifier and TypeMethodDescriptiongetLayer()floatgetQuadSize(float a) protected floatrandomizeColor(float color, float baseFactor) voidtick()Methods inherited from class SingleQuadParticle
extract, extractRotatedQuad, extractRotatedQuad, getFacingCameraMode, getGroup, getU0, getU1, getV0, getV1, scale, setAlpha, setColor, setSprite, setSpriteFromAge, toStringMethods inherited from class Particle
getBoundingBox, getLifetime, getLightCoords, getParticleLimit, getPos, isAlive, move, remove, setBoundingBox, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize
-
Field Details
-
sprites
-
-
Constructor Details
-
DustParticleBase
public DustParticleBase(ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, T options, SpriteSet sprites)
-
-
Method Details
-
randomizeColor
protected float randomizeColor(float color, float baseFactor) -
getLayer
- Specified by:
getLayerin classSingleQuadParticle
-
getQuadSize
public float getQuadSize(float a) - Overrides:
getQuadSizein classSingleQuadParticle
-
tick
-