public class MailEvent
extends net.minecraftforge.eventbus.api.Event
MailItem
Modifier and Type | Class and Description |
---|---|
static class |
MailEvent.EditMail
The event called when the text on a mail is edited
|
static class |
MailEvent.ReadMail
Event fired when a player interacts with the mail item and opens it to read (or edit) it
|
static class |
MailEvent.SealMail
Event fired when a player seals mail
|
Modifier and Type | Field and Description |
---|---|
protected net.minecraft.entity.player.ServerPlayerEntity |
player |
Constructor and Description |
---|
MailEvent(net.minecraft.entity.player.ServerPlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.entity.player.ServerPlayerEntity |
getPlayer() |