public static class AttackExplosion.ExplosionData extends StandardParticleAnimationData
Constructor and Description |
---|
ExplosionData() |
Modifier and Type | Method and Description |
---|---|
EffectType |
getEffectEnum() |
void |
initFromAttack(ImmutableAttack attack,
int effectivePower,
Element effectiveType) |
boolean |
isAtTarget() |
AttackExplosion.ExplosionData |
readFromByteBuffer(io.netty.buffer.ByteBuf buf) |
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 AttackExplosion.ExplosionData readFromByteBuffer(io.netty.buffer.ByteBuf buf)
readFromByteBuffer
in class StandardParticleAnimationData
public EffectType getEffectEnum()
getEffectEnum
in class AttackAnimationData
public boolean isAtTarget()