Class ElectricChainParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
nokunami.floral_warfare.client.particles.ElectricChainParticle
public class ElectricChainParticle
extends net.minecraft.client.particle.TextureSheetParticle
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class net.minecraft.client.particle.TextureSheetParticle
spriteFields inherited from class net.minecraft.client.particle.SingleQuadParticle
quadSizeFields 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
ConstructorsModifierConstructorDescriptionprotectedElectricChainParticle(net.minecraft.client.multiplayer.ClientLevel level, double pX, double pY, double pZ, float redC, float blueC, float greenC, net.minecraft.world.phys.Vec3 endPos, float startingWidth, float endingWidth, int particleSpeed, int life, float fadeDuration) -
Method Summary
Modifier and TypeMethodDescriptionintgetLightColor(float pPartialTick) @NotNull net.minecraft.client.particle.ParticleRenderTypevoidrender(com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.client.Camera camera, float partialTick) booleanMethods inherited from class net.minecraft.client.particle.TextureSheetParticle
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAgeMethods inherited from class net.minecraft.client.particle.SingleQuadParticle
getQuadSize, scaleMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getParticleGroup, getPos, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, tick, toString
-
Constructor Details
-
ElectricChainParticle
protected ElectricChainParticle(net.minecraft.client.multiplayer.ClientLevel level, double pX, double pY, double pZ, float redC, float blueC, float greenC, net.minecraft.world.phys.Vec3 endPos, float startingWidth, float endingWidth, int particleSpeed, int life, float fadeDuration)
-
-
Method Details
-
render
public void render(com.mojang.blaze3d.vertex.VertexConsumer consumer, net.minecraft.client.Camera camera, float partialTick) - Overrides:
renderin classnet.minecraft.client.particle.SingleQuadParticle
-
getRenderType
@NotNull public @NotNull net.minecraft.client.particle.ParticleRenderType getRenderType()- Specified by:
getRenderTypein classnet.minecraft.client.particle.Particle
-
getLightColor
public int getLightColor(float pPartialTick) - Overrides:
getLightColorin classnet.minecraft.client.particle.Particle
-
shouldCull
public boolean shouldCull()- Overrides:
shouldCullin classnet.minecraft.client.particle.Particle
-