Class EvolutionBeamParticle
java.lang.Object
net.minecraft.client.particle.Particle
net.minecraft.client.particle.SingleQuadParticle
net.minecraft.client.particle.TextureSheetParticle
net.minecraft.client.particle.RisingParticle
com.pixelmonmod.pixelmon.client.particle.particles.beams.EvolutionBeamParticle
public class EvolutionBeamParticle
extends net.minecraft.client.particle.RisingParticle
-
Field Summary
Modifier and TypeFieldDescriptionstatic final net.minecraft.client.particle.ParticleRenderType
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, bb, bbHeight, bbWidth, bCol, friction, gCol, gravity, hasPhysics, INITIAL_AABB, level, lifetime, MAXIMUM_COLLISION_VELOCITY_SQUARED, onGround, oRoll, random, rCol, removed, roll, speedUpWhenYMotionIsBlocked, stoppedByCollision, x, xd, xo, y, yd, yo, z, zd, zo
-
Constructor Summary
ConstructorDescriptionEvolutionBeamParticle
(net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, int beams, int lifetime, double velocityX, double velocityY, double velocityZ, Color tint, double diameter, net.minecraft.client.particle.SpriteSet sprites) -
Method Summary
Modifier and TypeMethodDescriptionint
getLightColor
(float partialTick) net.minecraft.client.particle.ParticleRenderType
void
render
(com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.client.Camera renderInfo, float partialTicks) boolean
void
tick()
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, toString
-
Field Details
-
EVO_BEAM
public static final net.minecraft.client.particle.ParticleRenderType EVO_BEAM
-
-
Constructor Details
-
EvolutionBeamParticle
public EvolutionBeamParticle(net.minecraft.client.multiplayer.ClientLevel world, double x, double y, double z, int beams, int lifetime, double velocityX, double velocityY, double velocityZ, Color tint, double diameter, net.minecraft.client.particle.SpriteSet sprites)
-
-
Method Details
-
shouldCull
public boolean shouldCull()- Overrides:
shouldCull
in classnet.minecraft.client.particle.Particle
-
getLightColor
public int getLightColor(float partialTick) - Overrides:
getLightColor
in classnet.minecraft.client.particle.Particle
-
getRenderType
public net.minecraft.client.particle.ParticleRenderType getRenderType()- Specified by:
getRenderType
in classnet.minecraft.client.particle.Particle
-
render
public void render(com.mojang.blaze3d.vertex.VertexConsumer builder, net.minecraft.client.Camera renderInfo, float partialTicks) - Overrides:
render
in classnet.minecraft.client.particle.SingleQuadParticle
-
tick
public void tick()- Overrides:
tick
in classnet.minecraft.client.particle.Particle
-