Class NPCTraderEvent.ShowTrade
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.npc.NPCTraderEvent
com.pixelmonmod.pixelmon.api.events.npc.NPCTraderEvent.ShowTrade
- Direct Known Subclasses:
NPCTraderEvent.ShowTrade.Post
,NPCTraderEvent.ShowTrade.Pre
- Enclosing class:
- NPCTraderEvent
Events fired surrounding the player opening the trade screen
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fired just after they open the screenstatic class
Fired just before they open the screen Cancelling this will prevent them from opening the screenNested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.npc.NPCTraderEvent
NPCTraderEvent.AcceptTrade, NPCTraderEvent.ShowTrade
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.npc.NPCTraderEvent
player, trader
-
Constructor Summary
-
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.npc.NPCTraderEvent
getPlayer, getTrader
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
trade
-
-
Constructor Details
-
ShowTrade
-
-
Method Details
-
getTrade
-