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
public class PortalParticle extends SpriteTexturedParticle
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PortalParticle.Factory
-
Field Summary
Fields Modifier and Type Field Description private double
xStart
private double
yStart
private double
zStart
-
Fields inherited from class net.minecraft.client.particle.SpriteTexturedParticle
sprite
-
Fields inherited from class net.minecraft.client.particle.TexturedParticle
quadSize
-
-
Constructor Summary
Constructors Modifier Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLightColor(float p_189214_1_)
float
getQuadSize(float p_217561_1_)
IParticleRenderType
getRenderType()
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
-
-
-
-
Constructor Detail
-
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 Detail
-
getRenderType
public IParticleRenderType 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
-
-