public class PixelmonFaintEvent
extends net.minecraftforge.eventbus.api.Event
| Modifier and Type | Class and Description |
|---|---|
static class |
PixelmonFaintEvent.Post
Fired after the poke has fainted
|
static class |
PixelmonFaintEvent.Pre
Fired before the fainting occurs
Cancelling this will prevent the health going <= 0
|
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.entity.player.ServerPlayerEntity |
player |
protected Pokemon |
pokemon |
| Modifier | Constructor and Description |
|---|---|
protected |
PixelmonFaintEvent(net.minecraft.entity.player.ServerPlayerEntity player,
Pokemon pokemon) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.entity.player.ServerPlayerEntity |
getPlayer() |
Pokemon |
getPokemon() |
protected final net.minecraft.entity.player.ServerPlayerEntity player
protected final Pokemon pokemon
protected PixelmonFaintEvent(@Nullable
net.minecraft.entity.player.ServerPlayerEntity player,
Pokemon pokemon)
@Nullable public net.minecraft.entity.player.ServerPlayerEntity getPlayer()
public Pokemon getPokemon()