Class FlyStraightTowardsParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.FlyStraightTowardsParticle
-
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 final intprivate final intprivate final doubleprivate final doubleprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionFlyStraightTowardsParticle(ClientLevel level, double x, double y, double z, double xd, double yd, double zd, int startColor, int endColor, TextureAtlasSprite sprite) -
Method Summary
Modifier and TypeMethodDescriptiongetLayer()intgetLightCoords(float a) voidmove(double xa, double ya, double za) voidtick()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, getParticleLimit, getPos, isAlive, remove, setBoundingBox, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize
-
Field Details
-
xStart
private final double xStart -
yStart
private final double yStart -
zStart
private final double zStart -
startColor
private final int startColor -
endColor
private final int endColor
-
-
Constructor Details
-
FlyStraightTowardsParticle
public FlyStraightTowardsParticle(ClientLevel level, double x, double y, double z, double xd, double yd, double zd, int startColor, int endColor, TextureAtlasSprite sprite)
-
-
Method Details
-
getLayer
- Specified by:
getLayerin classSingleQuadParticle
-
move
-
getLightCoords
public int getLightCoords(float a) - Overrides:
getLightCoordsin classParticle
-
tick
-