public class FlameParticle
extends net.minecraft.client.particle.DeceleratingParticle
Constructor and Description |
---|
FlameParticle(net.minecraft.client.world.ClientWorld world,
double x,
double y,
double z,
double velocityX,
double velocityY,
double velocityZ,
java.awt.Color tint,
double diameter,
net.minecraft.client.particle.IAnimatedSprite sprites)
Construct a new FlameParticle at the given [x,y,z] position, with the given initial velocity, the given color, and the
given diameter.
|
Modifier and Type | Method and Description |
---|---|
int |
getLightColor(float partialTick) |
net.minecraft.client.particle.IParticleRenderType |
getRenderType() |
void |
render(com.mojang.blaze3d.vertex.IVertexBuilder p_225606_1_,
net.minecraft.client.renderer.ActiveRenderInfo p_225606_2_,
float p_225606_3_) |
void |
tick() |
getU0, getU1, getV0, getV1, pickSprite, setSprite, setSpriteFromAge
public FlameParticle(net.minecraft.client.world.ClientWorld world, double x, double y, double z, double velocityX, double velocityY, double velocityZ, java.awt.Color tint, double diameter, net.minecraft.client.particle.IAnimatedSprite sprites)
public int getLightColor(float partialTick)
getLightColor
in class net.minecraft.client.particle.Particle
public net.minecraft.client.particle.IParticleRenderType getRenderType()
getRenderType
in class net.minecraft.client.particle.Particle
public void render(com.mojang.blaze3d.vertex.IVertexBuilder p_225606_1_, net.minecraft.client.renderer.ActiveRenderInfo p_225606_2_, float p_225606_3_)
render
in class net.minecraft.client.particle.TexturedParticle
public void tick()
tick
in class net.minecraft.client.particle.DeceleratingParticle