Class LostToWildPixelmonEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.LostToWildPixelmonEvent
public class LostToWildPixelmonEvent
extends net.minecraftforge.eventbus.api.Event
Fired when a wild Pokémon defeats a player
-
Nested Class Summary
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
Modifier and TypeFieldDescriptionfinal net.minecraft.server.level.ServerPlayer
The player who lost to the Pokémonfinal WildPixelmonParticipant
The wild Pokemon participant that won -
Constructor Summary
ConstructorDescriptionLostToWildPixelmonEvent
(net.minecraft.server.level.ServerPlayer player, WildPixelmonParticipant wpp) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
player
public final net.minecraft.server.level.ServerPlayer playerThe player who lost to the Pokémon -
wpp
The wild Pokemon participant that won
-
-
Constructor Details
-
LostToWildPixelmonEvent
public LostToWildPixelmonEvent(net.minecraft.server.level.ServerPlayer player, WildPixelmonParticipant wpp)
-