public class PixelmonTradeEvent
extends net.minecraftforge.eventbus.api.Event
| Modifier and Type | Class and Description |
|---|---|
static class |
PixelmonTradeEvent.Post |
static class |
PixelmonTradeEvent.Pre
Canceling this event will prevent the Pokemon from being exchanged
|
| Constructor and Description |
|---|
PixelmonTradeEvent(net.minecraft.entity.player.PlayerEntity player1,
net.minecraft.entity.player.PlayerEntity player2,
Pokemon pokemon1,
Pokemon pokemon2) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.entity.player.PlayerEntity |
getPlayer1() |
net.minecraft.entity.player.PlayerEntity |
getPlayer2() |
Pokemon |
getPokemon1() |
Pokemon |
getPokemon2() |