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 classstatic classstatic classNested classes/interfaces inherited from class net.minecraft.client.particle.SingleQuadParticle
SingleQuadParticle.FacingCameraModeNested 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 doubleFields inherited from class net.minecraft.client.particle.TextureSheetParticle
spriteFields inherited from class net.minecraft.client.particle.SingleQuadParticle
quadSize -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFlyTowardsPositionParticle(ClientLevel level, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) (package private)FlyTowardsPositionParticle(ClientLevel level, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed, boolean isGlowing, Particle.LifetimeAlpha lifetimeAlpha) -
Method Summary
Modifier and TypeMethodDescriptionintgetLightColor(float partialTick) voidmove(double x, double y, double z) voidrender(VertexConsumer buffer, Camera renderInfo, float partialTicks) voidtick()Methods inherited from class net.minecraft.client.particle.TextureSheetParticle
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAgeMethods inherited from class net.minecraft.client.particle.SingleQuadParticle
getFacingCameraMode, getQuadSize, getRenderBoundingBox, renderRotatedQuad, renderRotatedQuad, scaleMethods 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 level, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) -
FlyTowardsPositionParticle
FlyTowardsPositionParticle(ClientLevel level, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed, boolean isGlowing, Particle.LifetimeAlpha lifetimeAlpha)
-
-
Method Details
-
getRenderType
- Specified by:
getRenderTypein classParticle
-
move
public void move(double x, double y, double z) -
getLightColor
public int getLightColor(float partialTick) - Overrides:
getLightColorin classParticle
-
tick
public void tick() -
render
- Overrides:
renderin classSingleQuadParticle
-