Class MailEvent.ReadMail.Pre
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.MailEvent
com.pixelmonmod.pixelmon.api.events.MailEvent.ReadMail
com.pixelmonmod.pixelmon.api.events.MailEvent.ReadMail.Pre
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
MailEvent.ReadMail
public static class MailEvent.ReadMail.Pre
extends MailEvent.ReadMail
implements net.neoforged.bus.api.ICancellableEvent
Fired before the open screen packet is sent
Cancelling will stop the player from opening the screen
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.MailEvent.ReadMail
MailEvent.ReadMail.Post, MailEvent.ReadMail.Pre
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.MailEvent
MailEvent.EditMail, MailEvent.ReadMail, MailEvent.SealMail
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.MailEvent.ReadMail
author, itemStack, sealed, text
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.pixelmonmod.pixelmon.api.events.MailEvent.ReadMail
getAuthor, getItemStack, getText, isSealed
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
-