Refactor GUI handling code

This commit is contained in:
mezz committed 2015-11-19 20:37:33 -08:00
1 parent 31231db459
commit 408a66bb40
97 files changed
+1053 -1729

No files matched your search

@@ -11,17 +11,15 @@
package forestry.mail.items;
import forestry.core.items.ItemRegistry;
import forestry.core.items.ItemWithGui;
import forestry.core.network.GuiId;
public class ItemRegistryMail extends ItemRegistry {
public final ItemStamps stamps;
public final ItemLetter letters;
public final ItemWithGui catalogue;
public final ItemCatalogue catalogue;
public ItemRegistryMail() {
stamps = registerItem(new ItemStamps(), "stamps");
letters = registerItem(new ItemLetter(), "letters");
catalogue = registerItem(new ItemWithGui(GuiId.CatalogueGUI), "catalogue");
catalogue = registerItem(new ItemCatalogue(), "catalogue");
}
}