public class UseMoveSkillEvent
extends net.minecraftforge.eventbus.api.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.
|
PixelmonEntity |
pixelmon
The Pokémon entity using the move skill.
|
Constructor and Description |
---|
UseMoveSkillEvent(PixelmonEntity pixelmon,
MoveSkill moveSkill,
java.lang.Object data) |
Modifier and Type | Method and Description |
---|---|
void |
onCooldown(java.util.function.Consumer<MoveSkillCooldownEvent> handler) |
public final PixelmonEntity pixelmon
public final MoveSkill moveSkill
public java.lang.Object data
public java.util.function.Consumer<MoveSkillCooldownEvent> handler
public UseMoveSkillEvent(PixelmonEntity pixelmon, MoveSkill moveSkill, java.lang.Object data)
public void onCooldown(java.util.function.Consumer<MoveSkillCooldownEvent> handler)