public abstract class StandardParticleAnimationData extends AttackAnimationData
| Constructor and Description |
|---|
StandardParticleAnimationData() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLifetimeTicks() |
int |
getPower() |
int[] |
getRGB() |
float |
getScale() |
float |
getSpeed() |
AttackEffect.EnumParticleTexture |
getTexture() |
void |
initFromAttack(ImmutableAttack attack,
int effectivePower,
Element effectiveType) |
AttackEffect |
makeEffect(AttackSystem<? extends StandardParticleAnimationData> system) |
StandardParticleAnimationData |
readFromByteBuffer(io.netty.buffer.ByteBuf buf) |
StandardParticleAnimationData |
setLifetimeTicks(int lifetimeTicks) |
StandardParticleAnimationData |
setPower(int power) |
StandardParticleAnimationData |
setRGB(int r,
int g,
int b) |
StandardParticleAnimationData |
setScale(float scale) |
StandardParticleAnimationData |
setSpeed(float speed) |
StandardParticleAnimationData |
setTexture(AttackEffect.EnumParticleTexture texture) |
void |
writeToByteBuffer(io.netty.buffer.ByteBuf buf) |
ball, beam, buff, createSystem, explosion, getEffectEnum, radial, rain, tubepublic void initFromAttack(ImmutableAttack attack, int effectivePower, Element effectiveType)
initFromAttack in class AttackAnimationDatapublic void writeToByteBuffer(io.netty.buffer.ByteBuf buf)
writeToByteBuffer in class AttackAnimationDatapublic StandardParticleAnimationData readFromByteBuffer(io.netty.buffer.ByteBuf buf)
readFromByteBuffer in class AttackAnimationDatapublic AttackEffect makeEffect(AttackSystem<? extends StandardParticleAnimationData> system)
public StandardParticleAnimationData setPower(int power)
public StandardParticleAnimationData setSpeed(float speed)
public StandardParticleAnimationData setRGB(int r, int g, int b)
public StandardParticleAnimationData setTexture(AttackEffect.EnumParticleTexture texture)
public StandardParticleAnimationData setLifetimeTicks(int lifetimeTicks)
public StandardParticleAnimationData setScale(float scale)
public int getPower()
public float getSpeed()
public int[] getRGB()
public AttackEffect.EnumParticleTexture getTexture()
public int getLifetimeTicks()
public float getScale()