Class AttackEvent.Recoil
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
com.pixelmonmod.pixelmon.api.events.battles.AttackEvent
com.pixelmonmod.pixelmon.api.events.battles.AttackEvent.Recoil
- Enclosing class:
- AttackEvent
Event fired after recoil damage has been taken.
- Since:
- May 15, 2022
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.battles.AttackEvent
AttackEvent.CriticalHit, AttackEvent.Damage, AttackEvent.Recoil, AttackEvent.Stab, AttackEvent.TypeEffectiveness, AttackEvent.Use
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.battles.AttackEvent
target, user
Fields inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
battleController
-
Constructor Summary
ConstructorDescriptionRecoil
(BattleController battleController, PixelmonWrapper user, double recoil, boolean fatal) -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.battles.AttackEvent
getAttack, isSelf
Methods inherited from class com.pixelmonmod.pixelmon.api.events.battles.BattleEvent
getBattleController
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Recoil
public Recoil(BattleController battleController, PixelmonWrapper user, double recoil, boolean fatal)
-
-
Method Details
-
getRecoil
public double getRecoil() -
isFatal
public boolean isFatal()
-