mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 20:12:19 +00:00
Update for 1.11. Missing assets, unstable.
This commit is contained in:
1 parent
30d7365518
commit
9611ae08ae
1145 files changed
+15561
-18107
No files matched your search
@@ -5,16 +5,18 @@
|
||||
******************************************************************************/
|
||||
package forestry.api.mail;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import forestry.api.core.INbtWritable;
|
||||
import net.minecraft.util.NonNullList;
|
||||
|
||||
public interface ILetter extends IInventory, INbtWritable {
|
||||
|
||||
ItemStack[] getPostage();
|
||||
NonNullList<ItemStack> getPostage();
|
||||
|
||||
void setProcessed(boolean flag);
|
||||
|
||||
@@ -28,9 +30,10 @@ public interface ILetter extends IInventory, INbtWritable {
|
||||
|
||||
boolean hasRecipient();
|
||||
|
||||
void setRecipient(IMailAddress address);
|
||||
void setRecipient(@Nullable IMailAddress address);
|
||||
|
||||
IMailAddress[] getRecipients();
|
||||
@Nullable
|
||||
IMailAddress getRecipient();
|
||||
|
||||
String getRecipientString();
|
||||
|
||||
@@ -46,11 +49,11 @@ public interface ILetter extends IInventory, INbtWritable {
|
||||
|
||||
void invalidatePostage();
|
||||
|
||||
ItemStack[] getAttachments();
|
||||
NonNullList<ItemStack> getAttachments();
|
||||
|
||||
void addAttachment(ItemStack itemstack);
|
||||
|
||||
void addAttachments(ItemStack[] itemstacks);
|
||||
void addAttachments(NonNullList<ItemStack> itemstacks);
|
||||
|
||||
int countAttachments();
|
||||
|
||||
|
||||
Reference in new issue
Block a user