Class SparkleParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
com.idark.valoria.client.particle.types.GenericParticle
com.idark.valoria.client.particle.types.SparkleParticle
-
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
ConstructorDescriptionSparkleParticle
(net.minecraft.client.multiplayer.ClientLevel world, GenericParticleData data, double x, double y, double z, double vx, double vy, double vz) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
getLightColor
(float partialTicks) void
render
(com.mojang.blaze3d.vertex.VertexConsumer b, net.minecraft.client.Camera info, float pticks) Methods inherited from class com.idark.valoria.client.particle.types.GenericParticle
getCoeff, getRenderType, tick, updateTraits
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
getQuadSize, scale
Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getParticleGroup, getPos, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, toString
-
Constructor Details
-
SparkleParticle
public SparkleParticle(net.minecraft.client.multiplayer.ClientLevel world, GenericParticleData data, double x, double y, double z, double vx, double vy, double vz)
-
-
Method Details
-
getLightColor
protected int getLightColor(float partialTicks) - Overrides:
getLightColor
in classnet.minecraft.client.particle.Particle
-
render
public void render(com.mojang.blaze3d.vertex.VertexConsumer b, net.minecraft.client.Camera info, float pticks) - Overrides:
render
in classnet.minecraft.client.particle.SingleQuadParticle
-