Class ParticleBlur
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
org.cyclops.cyclopscore.client.particle.ParticleBlur
public class ParticleBlur
extends net.minecraft.client.particle.TextureSheetParticle
A blurred static fading particle with any possible color.
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.client.particle.TextureSheetParticle
sprite
Fields inherited from class net.minecraft.client.particle.SingleQuadParticle
quadSize
Fields inherited from class net.minecraft.client.particle.Particle
age, alpha, bbHeight, bbWidth, bCol, friction, gCol, gravity, hasPhysics, level, lifetime, onGround, oRoll, random, rCol, removed, roll, speedUpWhenYMotionIsBlocked, x, xd, xo, y, yd, yo, z, zd, zo
-
Constructor Summary
ConstructorDescriptionParticleBlur
(ParticleBlurData data, net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, double motionX, double motionY, double motionZ) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
getLightColor
(float partialTicks) float
getQuadSize
(float p_217561_1_) net.minecraft.client.particle.ParticleRenderType
void
setGravity
(float particleGravity) Set the gravity for this particle.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
render, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getParticleGroup, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, toString
-
Field Details
-
originalScale
protected float originalScale -
scaleLife
protected float scaleLife
-
-
Constructor Details
-
ParticleBlur
public ParticleBlur(ParticleBlurData data, net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, double motionX, double motionY, double motionZ)
-
-
Method Details
-
getRenderType
public net.minecraft.client.particle.ParticleRenderType getRenderType()- Specified by:
getRenderType
in classnet.minecraft.client.particle.Particle
-
tick
public void tick()- Overrides:
tick
in classnet.minecraft.client.particle.Particle
-
getLightColor
protected int getLightColor(float partialTicks) - Overrides:
getLightColor
in classnet.minecraft.client.particle.Particle
-
setGravity
public void setGravity(float particleGravity) Set the gravity for this particle.- Parameters:
particleGravity
- The new gravity
-
getQuadSize
public float getQuadSize(float p_217561_1_) - Overrides:
getQuadSize
in classnet.minecraft.client.particle.SingleQuadParticle
-