Package net.minecraft.client.particle
Class FlyStraightTowardsParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.FlyStraightTowardsParticle
-
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
Modifier and TypeFieldDescriptionprivate final int
private final int
private final double
private final double
private final double
Fields inherited from class net.minecraft.client.particle.TextureSheetParticle
sprite
Fields inherited from class net.minecraft.client.particle.SingleQuadParticle
quadSize
-
Constructor Summary
ConstructorDescriptionFlyStraightTowardsParticle
(ClientLevel p_338359_, double p_338512_, double p_338787_, double p_338665_, double p_338833_, double p_338537_, double p_338840_, int p_338764_, int p_338316_) -
Method Summary
Modifier and TypeMethodDescriptionint
getLightColor
(float p_338732_) void
move
(double p_338805_, double p_338843_, double p_338720_) 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, getQuadSize, getRenderBoundingBox, render, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getParticleGroup, getPos, isAlive, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, toString
-
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
FlyStraightTowardsParticle(ClientLevel p_338359_, double p_338512_, double p_338787_, double p_338665_, double p_338833_, double p_338537_, double p_338840_, int p_338764_, int p_338316_)
-
-
Method Details
-
getRenderType
- Specified by:
getRenderType
in classParticle
-
move
public void move(double p_338805_, double p_338843_, double p_338720_) -
getLightColor
public int getLightColor(float p_338732_) - Overrides:
getLightColor
in classParticle
-
tick
public void tick()
-