Class LostToWildPixelmonEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.LostToWildPixelmonEvent
public class LostToWildPixelmonEvent
extends net.neoforged.bus.api.Event
Fired when a wild Pokémon defeats a player
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.minecraft.server.level.ServerPlayer
The player who lost to the Pokémonfinal WildPixelmonParticipant
The wild Pokemon participant that won -
Constructor Summary
ConstructorsConstructorDescriptionLostToWildPixelmonEvent
(net.minecraft.server.level.ServerPlayer player, WildPixelmonParticipant wpp) -
Method Summary
-
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)
-