Class MoveSkillCooldownEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.moveskills.MoveSkillCooldownEvent
public class MoveSkillCooldownEvent
extends net.minecraftforge.eventbus.api.Event
Event fired when a move skill cooldown is about to be applied to a
Pokémon.
Canceling this event will remove the cooldown.
Canceling this event will remove the cooldown.
- Since:
- September 22, 2019
-
Nested Class Summary
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
Modifier and TypeFieldDescriptionint
The number of ticks that this use will take to cool down.final MoveSkill
The move skill being used.final PixelmonEntity
The Pokémon entity using the move skill. -
Constructor Summary
ConstructorDescriptionMoveSkillCooldownEvent
(PixelmonEntity pixelmon, MoveSkill moveSkill, int cooldownTicks) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
pixelmon
The Pokémon entity using the move skill. -
moveSkill
The move skill being used. -
cooldownTicks
public int cooldownTicksThe number of ticks that this use will take to cool down.
-
-
Constructor Details
-
MoveSkillCooldownEvent
-