mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-25 22:34:33 +00:00
Refactor GUI handling code
This commit is contained in:
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");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user