Class BeatWildPixelmonEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.BeatWildPixelmonEvent
public class BeatWildPixelmonEvent
extends net.neoforged.bus.api.Event
Fired when a wild Pokémon is defeated by a player
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.minecraft.server.level.ServerPlayerThe player who beat the Pokémonfinal WildPixelmonParticipantThe wild Pokemon participant that was defeated -
Constructor Summary
ConstructorsConstructorDescriptionBeatWildPixelmonEvent(net.minecraft.server.level.ServerPlayer player, WildPixelmonParticipant wpp) -
Method Summary
-
Field Details
-
player
public final net.minecraft.server.level.ServerPlayer playerThe player who beat the Pokémon -
wpp
The wild Pokemon participant that was defeated
-
-
Constructor Details
-
BeatWildPixelmonEvent
public BeatWildPixelmonEvent(net.minecraft.server.level.ServerPlayer player, WildPixelmonParticipant wpp)
-