Package net.minecraft.client.particle
Class PortalParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.TexturedParticle
net.minecraft.client.particle.SpriteTexturedParticle
net.minecraft.client.particle.PortalParticle
- Direct Known Subclasses:
ReversePortalParticle
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final double
private final double
private final double
Fields inherited from class net.minecraft.client.particle.SpriteTexturedParticle
sprite
Fields inherited from class net.minecraft.client.particle.TexturedParticle
quadSize
-
Constructor Summary
ModifierConstructorDescriptionprotected
PortalParticle
(ClientWorld p_i232417_1_, double p_i232417_2_, double p_i232417_4_, double p_i232417_6_, double p_i232417_8_, double p_i232417_10_, double p_i232417_12_) -
Method Summary
Modifier and TypeMethodDescriptionint
getLightColor
(float p_189214_1_) float
getQuadSize
(float p_217561_1_) void
move
(double p_187110_1_, double p_187110_3_, double p_187110_5_) void
tick()
Methods inherited from class net.minecraft.client.particle.SpriteTexturedParticle
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAge
Methods inherited from class net.minecraft.client.particle.TexturedParticle
render, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, isAlive, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, 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(ClientWorld p_i232417_1_, double p_i232417_2_, double p_i232417_4_, double p_i232417_6_, double p_i232417_8_, double p_i232417_10_, double p_i232417_12_)
-
-
Method Details
-
getRenderType
- Specified by:
getRenderType
in classParticle
-
move
public void move(double p_187110_1_, double p_187110_3_, double p_187110_5_) -
getQuadSize
public float getQuadSize(float p_217561_1_) - Overrides:
getQuadSize
in classTexturedParticle
-
getLightColor
public int getLightColor(float p_189214_1_) - Overrides:
getLightColor
in classParticle
-
tick
public void tick()
-