Class SulfurBubbleParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.SulfurBubbleParticle
-
Nested Class Summary
Nested ClassesNested 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 floatprivate static final floatprivate final floatprivate static final floatprivate final doubleprivate doubleprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionSulfurBubbleParticle(ClientLevel level, double x, double y, double z, double xa, double za, TextureAtlasSprite sprite) -
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
-
SIZE_START
private static final float SIZE_START- See Also:
-
SIZE_END
private static final float SIZE_END- See Also:
-
UPWARDS_SPEED
private static final float UPWARDS_SPEED- See Also:
-
HORIZONTAL_WIGGLING
private static final float HORIZONTAL_WIGGLING- See Also:
-
yStart
private final double yStart -
yEnd
private final double yEnd -
sizeStart
private final float sizeStart -
yPrev
private double yPrev
-
-
Constructor Details
-
SulfurBubbleParticle
public SulfurBubbleParticle(ClientLevel level, double x, double y, double z, double xa, double za, TextureAtlasSprite sprite)
-
-
Method Details
-
tick
-
randomHorizontalWiggling
private double randomHorizontalWiggling() -
getLayer
- Specified by:
getLayerin classSingleQuadParticle
-