mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Strict and consistent typing for GUI's Container and Inventory
This commit is contained in:
1 parent
7362286ead
commit
f4e9c61e3a
42 files changed
+131
-218
No files matched your search
@@ -22,20 +22,16 @@ import forestry.core.gui.GuiForestry;
|
||||
import forestry.core.utils.StringUtil;
|
||||
import forestry.mail.gadgets.MachineTrader;
|
||||
|
||||
public class GuiTradeName extends GuiForestry<MachineTrader> {
|
||||
public class GuiTradeName extends GuiForestry<ContainerTradeName, MachineTrader> {
|
||||
|
||||
private GuiTextField addressNameField;
|
||||
|
||||
private boolean addressNameFocus;
|
||||
|
||||
private final ContainerTradeName container;
|
||||
|
||||
public GuiTradeName(InventoryPlayer inventoryplayer, MachineTrader tile) {
|
||||
super(Defaults.TEXTURE_PATH_GUI + "/tradername.png", new ContainerTradeName(inventoryplayer, tile), tile);
|
||||
this.xSize = 176;
|
||||
this.ySize = 90;
|
||||
|
||||
this.container = (ContainerTradeName) inventorySlots;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user