Class PokedexOpenedEvent.Pre
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.PokedexOpenedEvent
com.pixelmonmod.pixelmon.api.events.PokedexOpenedEvent.Pre
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
PokedexOpenedEvent
public static class PokedexOpenedEvent.Pre
extends PokedexOpenedEvent
implements net.neoforged.bus.api.ICancellableEvent
The event that is fired before sending the packet
that notifies the player's client to open the Pokédex on their screen.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.PokedexOpenedEvent
PokedexOpenedEvent.Post, PokedexOpenedEvent.Pre
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.PokedexOpenedEvent
getDexNumber, getPlayer, setDexNumber
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Constructor Details
-
Pre
public Pre(@Nonnull net.minecraft.world.entity.player.Player player, int dexNumber)
-