Class ParticleBubbleExtended
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
org.cyclops.evilcraft.client.particle.ParticleBubbleExtended
public class ParticleBubbleExtended
extends net.minecraft.client.particle.TextureSheetParticle
BubbleParticle that has a modifiable gravity factor.
The higher this factor, the more quickly it will drop.-
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, hasPhysics, level, lifetime, onGround, oRoll, random, rCol, removed, roll, speedUpWhenYMotionIsBlocked, x, xd, xo, y, yd, yo, z, zd, zo -
Constructor Summary
ConstructorsConstructorDescriptionParticleBubbleExtended(net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, double motionX, double motionY, double motionZ, float gravity) -
Method Summary
Methods inherited from class net.minecraft.client.particle.TextureSheetParticle
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAgeMethods inherited from class net.minecraft.client.particle.SingleQuadParticle
getQuadSize, render, scaleMethods inherited from class net.minecraft.client.particle.Particle
getBoundingBox, getLifetime, getLightColor, getParticleGroup, getPos, isAlive, move, remove, setAlpha, setBoundingBox, setColor, setLifetime, setLocationFromBoundingbox, setParticleSpeed, setPos, setPower, setSize, shouldCull, toString
-
Constructor Details
-
ParticleBubbleExtended
public ParticleBubbleExtended(net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, double motionX, double motionY, double motionZ, float gravity)
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.client.particle.Particle
-
getRenderType
public net.minecraft.client.particle.ParticleRenderType getRenderType()- Specified by:
getRenderTypein classnet.minecraft.client.particle.Particle
-