Class ReceivePokemonEvent
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.pokemon.ReceivePokemonEvent
public class ReceivePokemonEvent
extends net.neoforged.bus.api.Event
Event that is fired when a player receives a Pokémon.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReceivePokemonEvent
(net.minecraft.world.entity.player.Player player, Pokemon pokemon) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.entity.player.Player
-
Field Details
-
player
protected final net.minecraft.world.entity.player.Player player -
pokemon
-
-
Constructor Details
-
ReceivePokemonEvent
-
-
Method Details
-
getPlayer
public net.minecraft.world.entity.player.Player getPlayer() -
getPokemon
-