public static class AttackTube.TubeData extends StandardParticleAnimationData
Constructor and Description |
---|
TubeData() |
Modifier and Type | Method and Description |
---|---|
float |
getApexRadius() |
EffectType |
getEffectEnum() |
float |
getHeight() |
float |
getNarrowness() |
float |
getRadius() |
int |
getSegments() |
void |
initFromAttack(ImmutableAttack attack,
int effectivePower,
Element effectiveType) |
boolean |
isConical() |
StandardParticleAnimationData |
readFromByteBuffer(io.netty.buffer.ByteBuf buf) |
AttackTube.TubeData |
setApexRadius(float apexRadius) |
AttackTube.TubeData |
setConical(boolean conical) |
AttackTube.TubeData |
setHeight(float height) |
AttackTube.TubeData |
setNarrowness(float narrowness) |
AttackTube.TubeData |
setRadius(float radius) |
AttackTube.TubeData |
setSegments(int segments) |
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 writeToByteBuffer(io.netty.buffer.ByteBuf buf)
writeToByteBuffer
in class StandardParticleAnimationData
public StandardParticleAnimationData readFromByteBuffer(io.netty.buffer.ByteBuf buf)
readFromByteBuffer
in class StandardParticleAnimationData
public void initFromAttack(ImmutableAttack attack, int effectivePower, Element effectiveType)
initFromAttack
in class StandardParticleAnimationData
public EffectType getEffectEnum()
getEffectEnum
in class AttackAnimationData
public AttackTube.TubeData setSegments(int segments)
public AttackTube.TubeData setHeight(float height)
public AttackTube.TubeData setRadius(float radius)
public AttackTube.TubeData setConical(boolean conical)
public AttackTube.TubeData setNarrowness(float narrowness)
public AttackTube.TubeData setApexRadius(float apexRadius)
public int getSegments()
public float getHeight()
public float getRadius()
public boolean isConical()
public float getNarrowness()
public float getApexRadius()