Class MailEvent.EditMail
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.MailEvent
com.pixelmonmod.pixelmon.api.events.MailEvent.EditMail
- Direct Known Subclasses:
MailEvent.EditMail.Post
,MailEvent.EditMail.Pre
- Enclosing class:
- MailEvent
The event called when the text on a mail is edited
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fired after the text has been updatedstatic class
Fired just before the item is updated with the new text Cancelling this will mean the text is not updatedNested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.MailEvent
MailEvent.EditMail, MailEvent.ReadMail, MailEvent.SealMail
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStack
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
mailItem
protected net.minecraft.world.item.ItemStack mailItem -
beforeText
-
afterText
-
-
Constructor Details
-
EditMail
-
-
Method Details
-
getMailItem
public net.minecraft.world.item.ItemStack getMailItem() -
getBeforeText
-
getAfterText
-