Class NPCTraderEvent.AcceptTrade

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.NPCTraderEvent
com.pixelmonmod.pixelmon.api.events.npc.NPCTraderEvent.AcceptTrade
Direct Known Subclasses:
NPCTraderEvent.AcceptTrade.Post, NPCTraderEvent.AcceptTrade.Pre
Enclosing class:
NPCTraderEvent

public static class NPCTraderEvent.AcceptTrade extends NPCTraderEvent
Event fired when a player is accepting a trade from the NPC Trader
  • Field Details

    • tradePair

      protected final TradePair tradePair
    • playerPokemon

      protected final Pokemon playerPokemon
    • tradedPokemon

      protected Pokemon tradedPokemon
    • removeNPC

      protected boolean removeNPC
  • Constructor Details

    • AcceptTrade

      protected AcceptTrade(net.minecraft.world.entity.player.Player player, NPC trader, TradePair tradePair, Pokemon playerPokemon, Pokemon tradedPokemon, boolean removeNPC)
  • Method Details

    • getTradePair

      public TradePair getTradePair()
    • getPlayerPokemon

      public Pokemon getPlayerPokemon()
    • isRemoveNPC

      public boolean isRemoveNPC()
    • getTradedPokemon

      public Pokemon getTradedPokemon()