Class PortalParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.PortalParticle
- Direct Known Subclasses:
ReversePortalParticle
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class SingleQuadParticle
SingleQuadParticle.FacingCameraMode, SingleQuadParticle.LayerNested classes/interfaces inherited from class Particle
Particle.LifetimeAlpha -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final doubleprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionPortalParticle(ClientLevel level, double x, double y, double z, double xd, double yd, double zd, TextureAtlasSprite sprite) -
Method Summary
Modifier and TypeMethodDescriptiongetLayer()intgetLightCoords(float a) floatgetQuadSize(float a) voidmove(double xa, double ya, double za) voidtick()Methods inherited from class SingleQuadParticle
extract, extractRotatedQuad, extractRotatedQuad, getFacingCameraMode, getGroup, getU0, getU1, getV0, getV1, scale, setAlpha, setColor, setSprite, setSpriteFromAge, toStringMethods inherited from class Particle
getBoundingBox, getLifetime, getParticleLimit, getPos, isAlive, remove, setBoundingBox, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize
-
Field Details
-
xStart
private final double xStart -
yStart
private final double yStart -
zStart
private final double zStart
-
-
Constructor Details
-
PortalParticle
public PortalParticle(ClientLevel level, double x, double y, double z, double xd, double yd, double zd, TextureAtlasSprite sprite)
-
-
Method Details
-
getLayer
- Specified by:
getLayerin classSingleQuadParticle
-
move
-
getQuadSize
public float getQuadSize(float a) - Overrides:
getQuadSizein classSingleQuadParticle
-
getLightCoords
public int getLightCoords(float a) - Overrides:
getLightCoordsin classParticle
-
tick
-