public static class MailEvent.SealMail.Pre extends MailEvent.SealMail
MailEvent.SealMail.Post, MailEvent.SealMail.Pre
MailEvent.EditMail, MailEvent.ReadMail, MailEvent.SealMail
author, closedItemStack, openItemStack, text
Constructor and Description |
---|
Pre(net.minecraft.entity.player.ServerPlayerEntity player,
net.minecraft.item.ItemStack openItemStack,
net.minecraft.item.ItemStack closedItemStack,
java.lang.String text,
java.lang.String author) |
Modifier and Type | Method and Description |
---|---|
void |
setAuthor(java.lang.String author) |
void |
setClosedItemStack(net.minecraft.item.ItemStack closedItemStack) |
void |
setOpenItemStack(net.minecraft.item.ItemStack openItemStack) |
void |
setText(java.lang.String text) |
getAuthor, getOpenItemStack, getSealedItemStack, getText
public Pre(@Nonnull net.minecraft.entity.player.ServerPlayerEntity player, net.minecraft.item.ItemStack openItemStack, net.minecraft.item.ItemStack closedItemStack, java.lang.String text, java.lang.String author)
public void setText(java.lang.String text)
public void setAuthor(java.lang.String author)
public void setClosedItemStack(net.minecraft.item.ItemStack closedItemStack)
public void setOpenItemStack(net.minecraft.item.ItemStack openItemStack)