Class FallingLeavesParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.FallingLeavesParticle
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from class SingleQuadParticle
SingleQuadParticle.FacingCameraMode, SingleQuadParticle.LayerNested classes/interfaces inherited from class Particle
Particle.LifetimeAlpha -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final floatprivate static final intprivate final booleanprivate static final intprivate floatprivate final floatprivate final booleanprivate final doubleprivate final floatprivate final doubleprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionFallingLeavesParticle(ClientLevel level, double x, double y, double z, TextureAtlasSprite sprite, float fallAcceleration, float sideAcceleration, boolean swirl, boolean flowAway, float scale, float startVelocity) -
Method Summary
Methods inherited from class SingleQuadParticle
extract, extractRotatedQuad, extractRotatedQuad, getFacingCameraMode, getGroup, getQuadSize, 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
-
ACCELERATION_SCALE
private static final float ACCELERATION_SCALE- See Also:
-
INITIAL_LIFETIME
private static final int INITIAL_LIFETIME- See Also:
-
CURVE_ENDPOINT_TIME
private static final int CURVE_ENDPOINT_TIME- See Also:
-
rotSpeed
private float rotSpeed -
spinAcceleration
private final float spinAcceleration -
windBig
private final float windBig -
swirl
private final boolean swirl -
flowAway
private final boolean flowAway -
xaFlowScale
private final double xaFlowScale -
zaFlowScale
private final double zaFlowScale -
swirlPeriod
private final double swirlPeriod
-
-
Constructor Details
-
FallingLeavesParticle
public FallingLeavesParticle(ClientLevel level, double x, double y, double z, TextureAtlasSprite sprite, float fallAcceleration, float sideAcceleration, boolean swirl, boolean flowAway, float scale, float startVelocity)
-
-
Method Details
-
getLayer
- Specified by:
getLayerin classSingleQuadParticle
-
tick
-