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
FieldsModifier and TypeFieldDescriptionintThe number of ticks that this use will take to cool down.final MoveSkillThe move skill being used.final PixelmonEntityThe Pokémon entity using the move skill. -
Constructor Summary
ConstructorsConstructorDescriptionMoveSkillCooldownEvent(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
-