Class BeatWildPixelmonEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.BeatWildPixelmonEvent
public class BeatWildPixelmonEvent
extends net.minecraftforge.eventbus.api.Event
Fired when a wild Pokémon is defeated by 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 beat the Pokémonfinal WildPixelmonParticipant
The wild Pokemon participant that was defeated -
Constructor Summary
ConstructorDescriptionBeatWildPixelmonEvent
(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 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)
-