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
Nested ClassesModifier 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
FieldsModifier 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
ConstructorsModifierConstructorDescriptionprotected
FlyTowardsPositionParticle
(ClientLevel pLevel, double pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed) (package private)
FlyTowardsPositionParticle
(ClientLevel pLevel, double pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed, boolean pIsGlowing, Particle.LifetimeAlpha pLifetimeAlpha) -
Method Summary
Modifier and TypeMethodDescriptionint
getLightColor
(float pPartialTick) void
move
(double pX, double pY, double pZ) void
render
(VertexConsumer pBuffer, Camera pRenderInfo, float pPartialTicks) 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, 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, 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
protected FlyTowardsPositionParticle(ClientLevel pLevel, double pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed) -
FlyTowardsPositionParticle
FlyTowardsPositionParticle(ClientLevel pLevel, double pX, double pY, double pZ, double pXSpeed, double pYSpeed, double pZSpeed, boolean pIsGlowing, Particle.LifetimeAlpha pLifetimeAlpha)
-
-
Method Details
-
getRenderType
- Specified by:
getRenderType
in classParticle
-
move
public void move(double pX, double pY, double pZ) -
getLightColor
public int getLightColor(float pPartialTick) - Overrides:
getLightColor
in classParticle
-
tick
public void tick() -
render
- Overrides:
render
in classSingleQuadParticle
-