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

@@ -11,25 +11,20 @@
package forestry.food.gui;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.IInventory;
import forestry.api.food.BeverageManager;
import forestry.core.config.Defaults;
import forestry.core.gadgets.TileForestry;
import forestry.core.gui.GuiForestry;
import forestry.food.items.ItemInfuser.InfuserInventory;
public class GuiInfuser extends GuiForestry<TileForestry> {
public class GuiInfuser extends GuiForestry<ContainerInfuser, InfuserInventory> {
private final IInventory inventory;
private int startX;
private int startY;
public GuiInfuser(InventoryPlayer inventoryplayer, InfuserInventory inventory) {
super(Defaults.TEXTURE_PATH_GUI + "/infuser.png", new ContainerInfuser(inventoryplayer, inventory), inventory);
this.inventory = inventory;
xSize = 176;
ySize = 185;
}