Class ParticleFlash
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
com.binaris.wizardry.api.client.particle.ParticleWizardry
com.binaris.wizardry.client.particle.ParticleFlash
Based on the vanilla
ParticleParticle, but with modified rendering to allow for a pulsing scale and a fade out.-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.binaris.wizardry.api.client.particle.ParticleWizardry
adjustQuadSize, angle, entity, fadeBlue, fadeGreen, fadeRed, initialBlue, initialGreen, initialRed, pitch, PROVIDERS, radius, random, relativeMotionX, relativeMotionY, relativeMotionZ, relativeX, relativeY, relativeZ, seed, shaded, speed, yawFields 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, rCol, removed, roll, speedUpWhenYMotionIsBlocked, x, xd, xo, y, yd, yo, z, zd, zo -
Constructor Summary
ConstructorsConstructorDescriptionParticleFlash(net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, net.minecraft.client.particle.SpriteSet spriteProvider) -
Method Summary
Modifier and TypeMethodDescriptionfloatgetQuadSize(float scaleFactor) voidrender(@NotNull com.mojang.blaze3d.vertex.VertexConsumer buffer, net.minecraft.client.Camera renderInfo, float partialTicks) Methods inherited from class com.binaris.wizardry.api.client.particle.ParticleWizardry
drawParticle, getLightColor, getRenderType, move, setCollisions, setColor, setEntity, setFacing, setFadeColour, setGravity, setParticleSpeed, setSeed, setShaded, setSpin, tick, updateEntityLinkingMethods inherited from class net.minecraft.client.particle.TextureSheetParticle
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAgeMethods inherited from class net.minecraft.client.particle.SingleQuadParticle
scaleMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getParticleGroup, isAlive, remove, setAlpha, setBoundingBox, setLifetime, setLocationFromBoundingbox, setPos, setPower, setSize, toString
-
Constructor Details
-
ParticleFlash
public ParticleFlash(net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, net.minecraft.client.particle.SpriteSet spriteProvider)
-
-
Method Details
-
render
public void render(@NotNull @NotNull com.mojang.blaze3d.vertex.VertexConsumer buffer, net.minecraft.client.Camera renderInfo, float partialTicks) - Overrides:
renderin classParticleWizardry
-
getQuadSize
public float getQuadSize(float scaleFactor) - Overrides:
getQuadSizein classnet.minecraft.client.particle.SingleQuadParticle
-