Package net.minecraft.client.particle
Class FlyTowardsPositionParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.FlyTowardsPositionParticle
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classNested classes/interfaces inherited from class net.minecraft.client.particle.SingleQuadParticle
SingleQuadParticle.FacingCameraMode, SingleQuadParticle.LayerNested classes/interfaces inherited from class net.minecraft.client.particle.Particle
Particle.LifetimeAlpha -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final Particle.LifetimeAlphaprivate final doubleprivate final doubleprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionFlyTowardsPositionParticle(ClientLevel pLevel, double pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed, boolean pIsGlowing, Particle.LifetimeAlpha pLifetimeAlpha, TextureAtlasSprite pSprite) FlyTowardsPositionParticle(ClientLevel p_323938_, double p_323720_, double p_324407_, double p_324020_, double p_323737_, double p_323883_, double p_324615_, TextureAtlasSprite p_447374_) -
Method Summary
Modifier and TypeMethodDescriptionvoidextract(QuadParticleRenderState p_451183_, Camera p_445787_, float p_445368_) getLayer()intgetLightColor(float p_323664_) voidmove(double p_324487_, double p_323538_, double p_324364_) voidtick()Methods inherited from class net.minecraft.client.particle.SingleQuadParticle
extractRotatedQuad, extractRotatedQuad, getFacingCameraMode, getGroup, getQuadSize, getU0, getU1, getV0, getV1, scale, setAlpha, setColor, setSprite, setSpriteFromAge, toStringMethods inherited from class net.minecraft.client.particle.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 -
isGlowing
private final boolean isGlowing -
lifetimeAlpha
-
-
Constructor Details
-
FlyTowardsPositionParticle
public FlyTowardsPositionParticle(ClientLevel p_323938_, double p_323720_, double p_324407_, double p_324020_, double p_323737_, double p_323883_, double p_324615_, TextureAtlasSprite p_447374_) -
FlyTowardsPositionParticle
public FlyTowardsPositionParticle(ClientLevel pLevel, double pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed, boolean pIsGlowing, Particle.LifetimeAlpha pLifetimeAlpha, TextureAtlasSprite pSprite)
-
-
Method Details
-
getLayer
- Specified by:
getLayerin classSingleQuadParticle
-
move
public void move(double p_324487_, double p_323538_, double p_324364_) -
getLightColor
public int getLightColor(float p_323664_) - Overrides:
getLightColorin classParticle
-
tick
public void tick() -
extract
- Overrides:
extractin classSingleQuadParticle
-