Class AttackStatChange.StatChangeData
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.animations.AttackAnimationData
com.pixelmonmod.pixelmon.battles.attacks.animations.StandardParticleAnimationData
com.pixelmonmod.pixelmon.battles.attacks.animations.particles.AttackStatChange.StatChangeData
- Enclosing class:
- AttackStatChange
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.animations.StandardParticleAnimationData
lifetimeTicks, power, rgb, scale, speed, texture
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initFromAttack
(ImmutableAttack attack, int effectivePower, Element effectiveType) readFromByteBuffer
(io.netty.buffer.ByteBuf buf) setStages
(int stages) setStat
(BattleStatsType stat) void
writeToByteBuffer
(io.netty.buffer.ByteBuf buf) Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.animations.StandardParticleAnimationData
makeEffect, setLifetimeTicks, setPower, setRGB, setScale, setSpeed, setTexture
Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.animations.AttackAnimationData
ball, beam, buff, createSystem, explosion, radial, rain, tube
-
Field Details
-
stat
-
stages
public int stages
-
-
Constructor Details
-
StatChangeData
public StatChangeData() -
StatChangeData
-
-
Method Details
-
getEffectEnum
- Specified by:
getEffectEnum
in classAttackAnimationData
-
setStat
-
setStages
-
initFromAttack
- Overrides:
initFromAttack
in classStandardParticleAnimationData
-
writeToByteBuffer
public void writeToByteBuffer(io.netty.buffer.ByteBuf buf) - Overrides:
writeToByteBuffer
in classStandardParticleAnimationData
-
readFromByteBuffer
- Overrides:
readFromByteBuffer
in classStandardParticleAnimationData
-