Class AttackAnimationRun
java.lang.Object
com.pixelmonmod.pixelmon.api.attackAnimations.AttackAnimation
com.pixelmonmod.pixelmon.battles.attacks.animations.AttackAnimationRun
-
Field Summary
Modifier and TypeFieldDescriptiondouble
double
double
double
double
double
boolean
double
double
double
double
double
double
double
boolean
boolean
boolean
double
double
double
double
double
double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
tickAnimation
(int tick) Return true if the animation is complete and the damage can be applied.boolean
Methods inherited from class com.pixelmonmod.pixelmon.api.attackAnimations.AttackAnimation
initialize, instantiate, sendBattleEffect
-
Field Details
-
effect
-
originalUserX
public double originalUserX -
originalUserY
public double originalUserY -
originalUserZ
public double originalUserZ -
originalTargetX
public double originalTargetX -
originalTargetY
public double originalTargetY -
originalTargetZ
public double originalTargetZ -
xDistance
public double xDistance -
zDistance
public double zDistance -
maxUserVelocity
public double maxUserVelocity -
userVelocityX
public double userVelocityX -
userVelocityZ
public double userVelocityZ -
targetVelocityX
public double targetVelocityX -
targetVelocityZ
public double targetVelocityZ -
accelerationX
public double accelerationX -
accelerationZ
public double accelerationZ -
initialVelocity
public double initialVelocity -
acceleration
public double acceleration -
inertiaDistance
public double inertiaDistance -
damagePercent
public double damagePercent -
targetReached
public boolean targetReached -
targetInMotion
public boolean targetInMotion -
knockback
public boolean knockback -
returnToStart
public boolean returnToStart
-
-
Constructor Details
-
AttackAnimationRun
public AttackAnimationRun()
-
-
Method Details
-
tickAnimation
public boolean tickAnimation(int tick) Description copied from class:AttackAnimation
Return true if the animation is complete and the damage can be applied.- Specified by:
tickAnimation
in classAttackAnimation
-
usedOncePerTurn
public boolean usedOncePerTurn()- Specified by:
usedOncePerTurn
in classAttackAnimation
-