19202122232425262728
public class GuiHandler implements IGuiHandler { @Override public Object getClientGuiElement(int id, EntityPlayer player, World world, int x, int y, int z) { if (id == GuiIds.LIST) { return new GuiList(player); } return null; }