Package net.minecraft.client.particle
Class PortalParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.PortalParticle
- Direct Known Subclasses:
ReversePortalParticle
-
Nested Class Summary
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 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
ModifierConstructorDescriptionprotected
PortalParticle
(ClientLevel p_107551_, double p_107552_, double p_107553_, double p_107554_, double p_107555_, double p_107556_, double p_107557_) -
Method Summary
Modifier and TypeMethodDescriptionint
getLightColor
(float p_107564_) float
getQuadSize
(float p_107567_) void
move
(double p_107560_, double p_107561_, double p_107562_) 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, render, 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
-
-
Constructor Details
-
PortalParticle
protected PortalParticle(ClientLevel p_107551_, double p_107552_, double p_107553_, double p_107554_, double p_107555_, double p_107556_, double p_107557_)
-
-
Method Details
-
getRenderType
- Specified by:
getRenderType
in classParticle
-
move
public void move(double p_107560_, double p_107561_, double p_107562_) -
getQuadSize
public float getQuadSize(float p_107567_) - Overrides:
getQuadSize
in classSingleQuadParticle
-
getLightColor
public int getLightColor(float p_107564_) - Overrides:
getLightColor
in classParticle
-
tick
public void tick()
-