Package net.minecraft.client.particle
Class EnchantGlyphParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.BillboardParticle
net.minecraft.client.particle.SpriteBillboardParticle
net.minecraft.client.particle.EnchantGlyphParticle
@Environment(CLIENT) public class EnchantGlyphParticle extends SpriteBillboardParticle
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EnchantGlyphParticle.EnchantFactory
static class
EnchantGlyphParticle.NautilusFactory
-
Field Summary
Fields Modifier and Type Field Description private double
startX
private double
startY
private double
startZ
Fields inherited from class net.minecraft.client.particle.SpriteBillboardParticle
sprite
Fields inherited from class net.minecraft.client.particle.BillboardParticle
scale
Fields inherited from class net.minecraft.client.particle.Particle
age, angle, collidesWithWorld, colorAlpha, colorBlue, colorGreen, colorRed, dead, gravityStrength, maxAge, onGround, prevAngle, prevPosX, prevPosY, prevPosZ, random, spacingXZ, spacingY, velocityX, velocityY, velocityZ, world, x, y, z
-
Constructor Summary
Constructors Modifier Constructor Description private
EnchantGlyphParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
-
Method Summary
Modifier and Type Method Description int
getColorMultiplier(float tint)
ParticleTextureSheet
getType()
void
move(double dx, double dy, double dz)
void
tick()
Methods inherited from class net.minecraft.client.particle.SpriteBillboardParticle
getMaxU, getMaxV, getMinU, getMinV, setSprite, setSprite, setSpriteForAge
Methods inherited from class net.minecraft.client.particle.BillboardParticle
buildGeometry, getSize, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getMaxAge, isAlive, markDead, move, repositionFromBoundingBox, setBoundingBox, setBoundingBoxSpacing, setColor, setColorAlpha, setMaxAge, setPos, toString
-
Field Details
-
startX
private final double startX -
startY
private final double startY -
startZ
private final double startZ
-
-
Constructor Details
-
EnchantGlyphParticle
private EnchantGlyphParticle(ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ)
-
-
Method Details
-
getType
-
move
public void move(double dx, double dy, double dz) -
getColorMultiplier
public int getColorMultiplier(float tint)- Overrides:
getColorMultiplier
in classParticle
-
tick
public void tick()
-