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_333327_, double p_328158_, double p_336092_, double p_331009_, double p_335556_, double p_328514_, double p_331083_) FlyTowardsPositionParticle
(ClientLevel p_335275_, double p_329537_, double p_335588_, double p_335971_, double p_331161_, double p_331135_, double p_331015_, boolean p_334585_, Particle.LifetimeAlpha p_330679_) -
Method Summary
Modifier and TypeMethodDescriptionint
getLightColor
(float p_334485_) void
move
(double p_335599_, double p_330355_, double p_329221_) void
render
(VertexConsumer p_329880_, Camera p_328408_, float p_328709_) 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, renderRotatedQuad, renderRotatedQuad, 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, shouldCull, 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_333327_, double p_328158_, double p_336092_, double p_331009_, double p_335556_, double p_328514_, double p_331083_) -
FlyTowardsPositionParticle
FlyTowardsPositionParticle(ClientLevel p_335275_, double p_329537_, double p_335588_, double p_335971_, double p_331161_, double p_331135_, double p_331015_, boolean p_334585_, Particle.LifetimeAlpha p_330679_)
-
-
Method Details
-
getRenderType
- Specified by:
getRenderType
in classParticle
-
move
public void move(double p_335599_, double p_330355_, double p_329221_) -
getLightColor
public int getLightColor(float p_334485_) - Overrides:
getLightColor
in classParticle
-
tick
public void tick() -
render
- Overrides:
render
in classSingleQuadParticle
-