Class StandardParticleAnimationData
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.animations.AttackAnimationData
com.pixelmonmod.pixelmon.battles.attacks.animations.StandardParticleAnimationData
- Direct Known Subclasses:
AttackBall.BallData
,AttackBeam.BeamData
,AttackBuff.BuffData
,AttackExplosion.ExplosionData
,AttackRadial.RadialData
,AttackRain.RainData
,AttackStatChange.StatChangeData
,AttackTube.TubeData
-
Field Summary
Modifier and TypeFieldDescriptionint
int
int[]
float
float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initFromAttack
(ImmutableAttack attack, int effectivePower, Element effectiveType) makeEffect
(AttackSystemBase<? extends StandardParticleAnimationData> system) readFromByteBuffer
(io.netty.buffer.ByteBuf buf) setLifetimeTicks
(int lifetimeTicks) setPower
(int power) setRGB
(int r, int g, int b) setScale
(float scale) setSpeed
(float speed) void
writeToByteBuffer
(io.netty.buffer.ByteBuf buf) Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.animations.AttackAnimationData
ball, beam, buff, createSystem, explosion, getEffectEnum, radial, rain, tube
-
Field Details
-
power
public int power -
speed
public float speed -
rgb
public int[] rgb -
texture
-
lifetimeTicks
public int lifetimeTicks -
scale
public float scale
-
-
Constructor Details
-
StandardParticleAnimationData
public StandardParticleAnimationData()
-
-
Method Details
-
initFromAttack
- Specified by:
initFromAttack
in classAttackAnimationData
-
writeToByteBuffer
public void writeToByteBuffer(io.netty.buffer.ByteBuf buf) - Specified by:
writeToByteBuffer
in classAttackAnimationData
-
readFromByteBuffer
- Specified by:
readFromByteBuffer
in classAttackAnimationData
-
makeEffect
-
setPower
-
setSpeed
-
setRGB
-
setTexture
-
setLifetimeTicks
-
setScale
-