Class LightSparkParticle
java.lang.Object
net.minecraft.client.particle.Particle
etithespirit.orimod.client.render.particle.LightSparkParticle
- Direct Known Subclasses:
LightSparkParticle.SpiritArcArrowImpactParticle
public abstract class LightSparkParticle
extends net.minecraft.client.particle.Particle
-
Nested Class Summary
Nested Classes -
Field Summary
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
ConstructorsModifierConstructorDescriptionprotected
LightSparkParticle
(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z) protected
LightSparkParticle
(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) protected
LightSparkParticle
(net.minecraft.client.multiplayer.ClientLevel worldIn, net.minecraft.world.phys.Vec3 pos, net.minecraft.world.phys.Vec3 speed) -
Method Summary
Modifier and TypeMethodDescriptionabstract float
getQuadSize
(float partialTicks) net.minecraft.client.particle.ParticleRenderType
void
render
(com.mojang.blaze3d.vertex.VertexConsumer buffer, net.minecraft.client.Camera camera, float partialTicks) Methods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getLightColor, getParticleGroup, isAlive, move, remove, scale, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, tick, toString
-
Constructor Details
-
LightSparkParticle
protected LightSparkParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z) -
LightSparkParticle
protected LightSparkParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed) -
LightSparkParticle
protected LightSparkParticle(net.minecraft.client.multiplayer.ClientLevel worldIn, net.minecraft.world.phys.Vec3 pos, net.minecraft.world.phys.Vec3 speed)
-
-
Method Details
-
render
public void render(com.mojang.blaze3d.vertex.VertexConsumer buffer, net.minecraft.client.Camera camera, float partialTicks) - Specified by:
render
in classnet.minecraft.client.particle.Particle
-
getQuadSize
public abstract float getQuadSize(float partialTicks) -
getRenderType
public net.minecraft.client.particle.ParticleRenderType getRenderType()- Specified by:
getRenderType
in classnet.minecraft.client.particle.Particle
-