public class Beam extends ParticleEffect
Constructor and Description |
---|
Beam(net.minecraft.entity.Entity start,
net.minecraft.entity.Entity end,
net.minecraft.util.math.vector.Vector3d startOffset,
net.minecraft.util.math.vector.Vector3d endOffset,
double theta,
int sections,
float variance,
float fadeIn,
float fadeOut,
float rateIn,
int delay,
float rateOut,
float r,
float g,
float b) |
Modifier and Type | Method and Description |
---|---|
boolean |
customRenderer() |
void |
init(ParticleArcanery particle,
net.minecraft.world.World world,
double x,
double y,
double z,
double vx,
double vy,
double vz,
float size) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
ParticleArcanery particle,
net.minecraft.client.renderer.IRenderTypeBuffer tessellator,
float partialTicks) |
net.minecraft.util.ResourceLocation |
texture() |
void |
update(ParticleArcanery particle) |
postRender, preRender
public Beam(net.minecraft.entity.Entity start, net.minecraft.entity.Entity end, net.minecraft.util.math.vector.Vector3d startOffset, net.minecraft.util.math.vector.Vector3d endOffset, double theta, int sections, float variance, float fadeIn, float fadeOut, float rateIn, int delay, float rateOut, float r, float g, float b)
public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, ParticleArcanery particle, net.minecraft.client.renderer.IRenderTypeBuffer tessellator, float partialTicks)
render
in class ParticleEffect
public boolean customRenderer()
customRenderer
in class ParticleEffect
public void init(ParticleArcanery particle, net.minecraft.world.World world, double x, double y, double z, double vx, double vy, double vz, float size)
init
in class ParticleEffect
public void update(ParticleArcanery particle)
update
in class ParticleEffect
public net.minecraft.util.ResourceLocation texture()
texture
in class ParticleEffect