public class UseMoveSkillEvent
extends net.minecraftforge.fml.common.eventhandler.Event
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
data
The data object associated with the move skill.
|
java.util.function.Consumer<MoveSkillCooldownEvent> |
handler
The handler to fire when this particular move proceeds, provided it isn't cancelled.
|
MoveSkill |
moveSkill
The move skill being used.
|
EntityPixelmon |
pixelmon
The Pokémon entity using the move skill.
|
Constructor and Description |
---|
UseMoveSkillEvent(EntityPixelmon pixelmon,
MoveSkill moveSkill,
java.lang.Object data) |
Modifier and Type | Method and Description |
---|---|
void |
onCooldown(java.util.function.Consumer<MoveSkillCooldownEvent> handler) |
public final EntityPixelmon pixelmon
public final MoveSkill moveSkill
public java.lang.Object data
public java.util.function.Consumer<MoveSkillCooldownEvent> handler
public UseMoveSkillEvent(EntityPixelmon pixelmon, MoveSkill moveSkill, java.lang.Object data)
public void onCooldown(java.util.function.Consumer<MoveSkillCooldownEvent> handler)