public static class AttackBeam.BeamData extends StandardParticleAnimationData
Constructor and Description |
---|
BeamData() |
Modifier and Type | Method and Description |
---|---|
EffectType |
getEffectEnum() |
int |
getSegments() |
float |
getVariation() |
void |
initFromAttack(ImmutableAttack attack,
int effectivePower,
Element effectiveType) |
boolean |
isInverted() |
AttackBeam.BeamData |
readFromByteBuffer(io.netty.buffer.ByteBuf buf) |
AttackBeam.BeamData |
setInverted(boolean inverted) |
AttackBeam.BeamData |
setSegments(int segments) |
AttackBeam.BeamData |
setVariation(float variation) |
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 attack, int effectivePower, Element effectiveType)
initFromAttack
in class StandardParticleAnimationData
public void writeToByteBuffer(io.netty.buffer.ByteBuf buf)
writeToByteBuffer
in class StandardParticleAnimationData
public AttackBeam.BeamData readFromByteBuffer(io.netty.buffer.ByteBuf buf)
readFromByteBuffer
in class StandardParticleAnimationData
public EffectType getEffectEnum()
getEffectEnum
in class AttackAnimationData
public AttackBeam.BeamData setSegments(int segments)
public AttackBeam.BeamData setVariation(float variation)
public AttackBeam.BeamData setInverted(boolean inverted)
public int getSegments()
public float getVariation()
public boolean isInverted()