public static class NPCTraderEvent.AcceptTrade.Pre extends NPCTraderEvent.AcceptTrade
NPCTraderEvent.AcceptTrade.Post, NPCTraderEvent.AcceptTrade.Pre
NPCTraderEvent.AcceptTrade, NPCTraderEvent.ShowTrade
playerPokemon, removeNPC, tradedPokemon, tradePair
player, trader
Constructor and Description |
---|
Pre(net.minecraft.entity.player.PlayerEntity player,
NPCEntity trader,
TradePair tradePair,
Pokemon playerPokemon,
Pokemon tradedPokemon,
boolean removeNPC) |
Modifier and Type | Method and Description |
---|---|
void |
setRemoveNPC(boolean removeNPC) |
void |
setTradedPokemon(Pokemon pokemon) |
getPlayerPokemon, getTradedPokemon, getTradePair, isRemoveNPC
getPlayer, getTrader
public void setRemoveNPC(boolean removeNPC)
public void setTradedPokemon(Pokemon pokemon)