mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-19 20:00:00 +00:00
Pull bookmarked items from container to player inventory (#410)
* [major] first potential version for basic chests * [major] added api to register chest/inventory guis for bookmark item pulling * [minor] added hotkey to pull all bookmarked items * [major] finished * [minor] spotless apply * [minor] removed bak file * [minor] function cleanup * [minor] fixed bookmarks being set to 0 * [minor] little oversight * [minor] private attribute and curly brackets
This commit is contained in:
1 parent
4f23d21d37
commit
00c4411ec5
9 files changed
+146
-4
No files matched your search
@@ -226,6 +226,10 @@ public class LayoutManager implements IContainerInputHandler, IContainerTooltipH
|
||||
return true;
|
||||
}
|
||||
|
||||
if (NEIClientConfig.isKeyHashDown("gui.bookmark_pull_items")) {
|
||||
return bookmarkPanel.pullBookmarkItems();
|
||||
}
|
||||
|
||||
if (isEnabled() && !isHidden()) {
|
||||
for (Widget widget : controlWidgets) if (inputFocused == null) widget.lastKeyTyped(keyID, keyChar);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user