Package forestry.api.mail
Interface ILetter
- All Superinterfaces:
net.minecraft.world.Clearable,net.minecraft.world.Container,INbtWritable
-
Field Summary
Fields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttachment(net.minecraft.world.item.ItemStack itemstack) voidaddAttachments(net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> itemstacks) voidaddStamps(net.minecraft.world.item.ItemStack stamps) voidaddTooltip(List<net.minecraft.network.chat.Component> list) intnet.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack>net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack>getText()booleanvoidbooleanbooleanbooleanintvoidsetProcessed(boolean flag) voidsetRecipient(IMailAddress address) voidsetSender(IMailAddress address) voidMethods inherited from interface net.minecraft.world.Clearable
clearContentMethods inherited from interface net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getContainerSize, getItem, getMaxStackSize, hasAnyMatching, hasAnyOf, isEmpty, removeItem, removeItemNoUpdate, setChanged, setItem, startOpen, stillValid, stopOpenMethods inherited from interface forestry.api.core.INbtWritable
write
-
Method Details
-
getPostage
net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getPostage() -
setProcessed
void setProcessed(boolean flag) -
isProcessed
boolean isProcessed() -
isMailable
boolean isMailable() -
setSender
-
getSender
IMailAddress getSender() -
hasRecipient
boolean hasRecipient() -
setRecipient
-
getRecipient
-
getRecipientString
String getRecipientString() -
setText
-
getText
String getText() -
addTooltip
-
isPostPaid
boolean isPostPaid() -
requiredPostage
int requiredPostage() -
invalidatePostage
void invalidatePostage() -
getAttachments
net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getAttachments() -
addAttachment
void addAttachment(net.minecraft.world.item.ItemStack itemstack) -
addAttachments
void addAttachments(net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> itemstacks) -
countAttachments
int countAttachments() -
addStamps
void addStamps(net.minecraft.world.item.ItemStack stamps)
-