Class PixelmonDeletedEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.PixelmonDeletedEvent
public class PixelmonDeletedEvent
extends net.minecraftforge.eventbus.api.Event
Fires when a Pokémon is deleted or otherwise lost.
-
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 DeleteType
The means by which the Pokémon is being deletedfinal net.minecraft.server.level.ServerPlayer
The player deleting the Pokémonfinal Pokemon
The Pokémon being deleted in NBT form -
Constructor Summary
ConstructorDescriptionPixelmonDeletedEvent
(net.minecraft.server.level.ServerPlayer player, Pokemon pokemon, DeleteType deleteType) -
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 deleting the Pokémon -
pokemon
The Pokémon being deleted in NBT form -
deleteType
The means by which the Pokémon is being deleted
-
-
Constructor Details
-
PixelmonDeletedEvent
public PixelmonDeletedEvent(net.minecraft.server.level.ServerPlayer player, Pokemon pokemon, DeleteType deleteType)
-