Strict and consistent typing for GUI's Container and Inventory

This commit is contained in:
mezz committed 2015-03-02 23:55:52 -08:00
1 parent 7362286ead
commit f4e9c61e3a
42 files changed
+131 -218

No files matched your search

@@ -25,15 +25,11 @@ import forestry.apiculture.items.ItemBeeGE;
import forestry.apiculture.items.ItemImprinter.ImprinterInventory;
import forestry.core.config.Defaults;
import forestry.core.config.ForestryItem;
import forestry.core.gadgets.TileForestry;
import forestry.core.gui.GuiForestry;
import forestry.core.proxy.Proxies;
import forestry.core.utils.StringUtil;
public class GuiImprinter extends GuiForestry<TileForestry> {
private final ImprinterInventory inventory;
private final ContainerImprinter container;
public class GuiImprinter extends GuiForestry<ContainerImprinter, ImprinterInventory> {
private int startX;
private int startY;
@@ -43,9 +39,6 @@ public class GuiImprinter extends GuiForestry<TileForestry> {
public GuiImprinter(InventoryPlayer inventoryplayer, ImprinterInventory inventory) {
super(Defaults.TEXTURE_PATH_GUI + "/imprinter.png", new ContainerImprinter(inventoryplayer, inventory), inventory);
this.inventory = inventory;
this.container = (ContainerImprinter) inventorySlots;
xSize = 176;
ySize = 185;