public class AttackEffect extends ParticleEffect
Modifier and Type | Class and Description |
---|---|
static class |
AttackEffect.EnumParticleTexture |
Modifier and Type | Field and Description |
---|---|
int |
age |
float |
b |
AttackEffectContract |
callback |
int |
endID |
double |
endX |
double |
endY |
double |
endZ |
boolean |
eol |
float |
g |
boolean |
hiddenIsDisable |
int |
hiddenUntil |
double |
innaccuracy |
int |
maxAge |
net.minecraft.client.Minecraft |
mc |
double |
mX |
double |
mY |
double |
mZ |
double |
noiseParam |
float |
r |
float |
scale |
double |
speed |
int |
startID |
double |
startX |
double |
startY |
double |
startZ |
net.minecraft.util.ResourceLocation |
texture |
int |
ticker |
double |
totalDistance |
double |
travelledDistance |
Element |
type |
Constructor and Description |
---|
AttackEffect() |
AttackEffect(AttackEffectContract effect,
double startX,
double startY,
double startZ,
double endX,
double endY,
double endZ,
int accuracy,
int hiddenUntil,
boolean hiddenIsDisable,
double noiseParam,
double speed,
int startID,
int endID) |
AttackEffect(AttackEffectContract effect,
int startEntityID,
float[] startPos,
int endEntityID,
float[] endPos,
StandardParticleAnimationData data) |
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 |
postRender(ParticleArcanery particle,
float partialTicks) |
void |
preRender(ParticleArcanery particle,
float partialTicks) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
ParticleArcanery particle,
net.minecraft.client.renderer.IRenderTypeBuffer tessellator,
float partialTicks) |
AttackEffect |
setEndPos(double endX,
double endY,
double endZ) |
AttackEffect |
setEndPos(float endX,
float endY,
float endZ) |
void |
setHeading() |
AttackEffect |
setHideTicks(int hideTicks,
boolean hideWhileDisabled) |
AttackEffect |
setLifetimeTicks(int ticks) |
AttackEffect |
setNoise(double noiseParam) |
AttackEffect |
setStartPos(double startX,
double startY,
double startZ) |
AttackEffect |
setStartPos(float startX,
float startY,
float startZ) |
net.minecraft.util.ResourceLocation |
texture() |
void |
update(ParticleArcanery particle) |
public double startX
public double startY
public double startZ
public double endX
public double endY
public double endZ
public double innaccuracy
public double travelledDistance
public double totalDistance
public int maxAge
public int age
public boolean eol
public double speed
public double mX
public double mY
public double mZ
public Element type
public float r
public float g
public float b
public float scale
public net.minecraft.util.ResourceLocation texture
public int hiddenUntil
public boolean hiddenIsDisable
public int ticker
public double noiseParam
public int startID
public int endID
public net.minecraft.client.Minecraft mc
public AttackEffectContract callback
public AttackEffect()
public AttackEffect(AttackEffectContract effect, int startEntityID, float[] startPos, int endEntityID, float[] endPos, StandardParticleAnimationData data)
public AttackEffect(AttackEffectContract effect, double startX, double startY, double startZ, double endX, double endY, double endZ, int accuracy, int hiddenUntil, boolean hiddenIsDisable, double noiseParam, double speed, int startID, int endID)
public AttackEffect setLifetimeTicks(int ticks)
public AttackEffect setHideTicks(int hideTicks, boolean hideWhileDisabled)
public AttackEffect setNoise(double noiseParam)
public AttackEffect setStartPos(float startX, float startY, float startZ)
public AttackEffect setStartPos(double startX, double startY, double startZ)
public AttackEffect setEndPos(float endX, float endY, float endZ)
public AttackEffect setEndPos(double endX, double endY, double endZ)
public void setHeading()
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 boolean customRenderer()
customRenderer
in class ParticleEffect
public void preRender(ParticleArcanery particle, float partialTicks)
preRender
in class ParticleEffect
public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, ParticleArcanery particle, net.minecraft.client.renderer.IRenderTypeBuffer tessellator, float partialTicks)
render
in class ParticleEffect
public void postRender(ParticleArcanery particle, float partialTicks)
postRender
in class ParticleEffect
public net.minecraft.util.ResourceLocation texture()
texture
in class ParticleEffect