public class CubeParticle
extends net.minecraft.client.particle.Particle
| Modifier and Type | Class and Description |
|---|---|
static class |
CubeParticle.Factory |
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.util.math.vector.Vector3d[] |
CUBE |
static net.minecraft.util.math.vector.Vector3d[] |
CUBE_NORMALS |
protected boolean |
hot |
protected float |
scale |
| Constructor and Description |
|---|
CubeParticle(net.minecraft.client.world.ClientWorld world,
double x,
double y,
double z,
double motionX,
double motionY,
double motionZ) |
| Modifier and Type | Method and Description |
|---|---|
void |
averageAge(int age) |
net.minecraft.client.particle.IParticleRenderType |
getRenderType() |
void |
render(com.mojang.blaze3d.vertex.IVertexBuilder builder,
net.minecraft.client.renderer.ActiveRenderInfo renderInfo,
float p_225606_3_) |
void |
setHot(boolean hot) |
void |
setScale(float scale) |
void |
tick() |
public static final net.minecraft.util.math.vector.Vector3d[] CUBE
public static final net.minecraft.util.math.vector.Vector3d[] CUBE_NORMALS
protected float scale
protected boolean hot
public CubeParticle(net.minecraft.client.world.ClientWorld world,
double x,
double y,
double z,
double motionX,
double motionY,
double motionZ)
public void setScale(float scale)
public void averageAge(int age)
public void setHot(boolean hot)
public void tick()
tick in class net.minecraft.client.particle.Particlepublic void render(com.mojang.blaze3d.vertex.IVertexBuilder builder,
net.minecraft.client.renderer.ActiveRenderInfo renderInfo,
float p_225606_3_)
render in class net.minecraft.client.particle.Particlepublic net.minecraft.client.particle.IParticleRenderType getRenderType()
getRenderType in class net.minecraft.client.particle.Particle