public static class AttackRain.RainData extends StandardParticleAnimationData
Constructor and Description |
---|
RainData() |
Modifier and Type | Method and Description |
---|---|
int |
getDurationTicks() |
EffectType |
getEffectEnum() |
int |
getHeightAboveTarget() |
float |
getMaxHorizontalDisplacement() |
void |
initFromAttack(ImmutableAttack immutableAttack,
int effectivePower,
Element effectiveType) |
AttackRain.RainData |
readFromByteBuffer(io.netty.buffer.ByteBuf buf) |
AttackRain.RainData |
setDurationTicks(int durationTicks) |
AttackRain.RainData |
setHeightAboveTarget(int heightAboveTarget) |
AttackRain.RainData |
setMaxHorizontalDisplacement(float maxHorizontalDisplacement) |
void |
writeToByteBuffer(io.netty.buffer.ByteBuf buf) |
getLifetimeTicks, getPower, getRGB, getScale, getSpeed, getTexture, makeEffect, setLifetimeTicks, setPower, setRGB, setScale, setSpeed, setTexture
ball, beam, buff, createSystem, explosion, radial, rain, tube
public void initFromAttack(ImmutableAttack immutableAttack, int effectivePower, Element effectiveType)
initFromAttack
in class StandardParticleAnimationData
public void writeToByteBuffer(io.netty.buffer.ByteBuf buf)
writeToByteBuffer
in class StandardParticleAnimationData
public AttackRain.RainData readFromByteBuffer(io.netty.buffer.ByteBuf buf)
readFromByteBuffer
in class StandardParticleAnimationData
public EffectType getEffectEnum()
getEffectEnum
in class AttackAnimationData
public AttackRain.RainData setDurationTicks(int durationTicks)
public AttackRain.RainData setMaxHorizontalDisplacement(float maxHorizontalDisplacement)
public AttackRain.RainData setHeightAboveTarget(int heightAboveTarget)
public int getDurationTicks()
public float getMaxHorizontalDisplacement()
public int getHeightAboveTarget()