Package net.minecraft.client.particle
Class FlyTowardsPositionParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.FlyTowardsPositionParticle
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
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 boolean
private final Particle.LifetimeAlpha
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
ConstructorDescriptionFlyTowardsPositionParticle
(ClientLevel p_323658_, double p_324523_, double p_324079_, double p_324377_, double p_324144_, double p_324286_, double p_323511_) FlyTowardsPositionParticle
(ClientLevel p_323938_, double p_323720_, double p_324407_, double p_324020_, double p_323737_, double p_323883_, double p_324615_, boolean p_323911_, Particle.LifetimeAlpha p_324427_) -
Method Summary
Modifier and TypeMethodDescriptionint
getLightColor
(float p_323664_) void
move
(double p_324487_, double p_323538_, double p_324364_) void
render
(VertexConsumer p_324177_, Camera p_323683_, float p_323936_) 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, 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 -
isGlowing
private final boolean isGlowing -
lifetimeAlpha
-
-
Constructor Details
-
FlyTowardsPositionParticle
FlyTowardsPositionParticle(ClientLevel p_323658_, double p_324523_, double p_324079_, double p_324377_, double p_324144_, double p_324286_, double p_323511_) -
FlyTowardsPositionParticle
FlyTowardsPositionParticle(ClientLevel p_323938_, double p_323720_, double p_324407_, double p_324020_, double p_323737_, double p_323883_, double p_324615_, boolean p_323911_, Particle.LifetimeAlpha p_324427_)
-
-
Method Details
-
getRenderType
- Specified by:
getRenderType
in classParticle
-
move
public void move(double p_324487_, double p_323538_, double p_324364_) -
getLightColor
public int getLightColor(float p_323664_) - Overrides:
getLightColor
in classParticle
-
tick
public void tick() -
render
- Overrides:
render
in classSingleQuadParticle
-