Commit Graph
69 Commits
Author SHA1 Message Date
Kogepan229andMartin Robertz 8a5ef45ab7 Fix button disappearing when pin state is changed (#854)
Co-authored-by: Martin Robertz <[email protected]>
2025-09-21 14:43:21 +02:00
SKProCHandMartin Robertz 6f89eb7e72 Disable hotbar keys handling to allow input numbers in the search field in terminals (#825)
Co-authored-by: Martin Robertz <[email protected]>
2025-08-25 15:06:05 +00:00
Blackcloud010 c9636bc4a4 Search all entire network (including subnets) to find item locations (#815) 2025-08-09 07:59:12 +00:00
NeOzayandMartin Robertz e03c3281c9 Add ItemImmutableList for immutable item collection management (#808)
Co-authored-by: Martin Robertz <[email protected]>
2025-08-04 01:20:15 +00:00
lc-1337andNeOzay 05ee8dc076 fix search field reset in many situations (#806)
Co-authored-by: NeOzay <[email protected]>
2025-07-24 20:48:09 +02:00
lc-1337 865bfe93d0 keep in memory text from searchField on pins setting change (#794) 2025-07-14 21:39:32 +02:00
lc-1337andMaya e6aad98678 fix buttons duplication on gui when re init gui (#785)
Co-authored-by: Maya <[email protected]>
2025-06-29 17:02:22 +00:00
ba7d5abd32 Crafting pins / pins (#705)
Co-authored-by: Maya <[email protected]>
Co-authored-by: Julia <[email protected]>
Co-authored-by: boubou19 <[email protected]>
Co-authored-by: lordIcocain <[email protected]>
Co-authored-by: NeOzay <[email protected]>
Co-authored-by: NeOzay <[email protected]>
Co-authored-by: Martin Robertz <[email protected]>
2025-06-28 22:40:35 +02:00
Mayaandboubou19 d3a55ddfb9 Allow View Cell to be toggled on or off (#731)
Co-authored-by: boubou19 <[email protected]>
2025-05-25 19:54:13 +00:00
lordIcocainandMaya cff5c068f3 Fix number input in search field (#709)
Co-authored-by: Maya <[email protected]>
2025-04-02 16:14:17 +00:00
Michael Doyle 3d655e4701 [Feature] Shift to pause terminal view movement (#652) 2025-01-13 00:23:50 -06:00
AlexdoruandMCTBL 399b786a54 Fix clearing the current search when clicking the change terminal size button (#609)
Co-authored-by: MCTBL <[email protected]>
2024-11-14 16:03:52 +01:00
96106900a3 fix tooltip position (#587)
Co-authored-by: slprime <[email protected]>
Co-authored-by: Martin Robertz <[email protected]>
2024-10-05 10:21:04 +00:00
slprimeandslprime a222bd3ce6 Use escaping drop item name algorithm from NEI (#554)
* Use escaping drop item name algorithm from NEI

* Update escapedSearchText method

---------

Co-authored-by: slprime <[email protected]>
2024-08-20 13:11:20 +02:00
533d7a4370 Add NEI Search & Formatter (#549)
* Add NEI Search & Formatter

* fix dblclick in orefilter gui

* Update dependencies.gradle

* Update ItemRepo.java

---------

Co-authored-by: slprime <[email protected]>
Co-authored-by: Martin Robertz <[email protected]>
2024-08-18 08:09:28 +00:00
Caedis 4b70cd9be0 Revert Shift To Freeze (#513)
* Revert "bandaid fix for shift mode lag (#502)"

This reverts commit 5f423f496e.

* Revert "hold the shift to stop sort items (#449)"

This reverts commit 96dd2e255c.
2024-05-01 08:58:08 -05:00
asdfljandzy 96dd2e255c hold the shift to stop sort items (#449)
Co-authored-by: zy <[email protected]>
2024-01-01 13:28:29 +01:00
miozune 107832d4fd Fix wildcard import (#392) 2023-09-24 10:09:03 +02:00
firenoo 42d1dbf086 Move cursor to the end when initializing text field (#366)
Since the cursor position was being restored before the cursor was set,
it was setting the position to 0.
2023-07-30 20:51:34 +02:00
firenoo 8e7617b259 Use interface instead of class for generalization (#323)
Was missing getReferenceItem, which is used for displaying slots.
This way we can swap in implementations and not create our own slot
2023-05-20 10:22:08 +02:00
firenoo cc8b77e488 AE API: Add a method to blacklist items/provide filters based on item/fluid (#322)
* AE API: Add a method to blacklist items/provide filters based on item/fluid.

Items can now be added to the blacklist to prevent them from being shown. This
does NOT blacklist them from being stored in storage cells (for the time being).

While the type filters were previously implemented directly in ItemRepo,
this commit adds them to the API.

ItemRepo is now extracted as an interface, primarily for AE2FC and other add-ons.

* Update buildscript
2023-05-19 08:35:04 +02:00
Raven Szewczyk 19676072b8 Enable generics injection & Jabel & code cleanup (#307)
* Enable Jabel and generic injection

* Use RoundingMode enum values

* Use enhanced for loops

* Use diamond operator where appropriate

* Deprecate ChainedIterator

* spotless

* Collapse identical catch blocks

* Use try with resources

* Use List.sort where possible

* Anonymous type->lambda

* Loop -> removeIf

* Simplifiable map operations

* Use enhanced instanceof

* Use enhanced switch

* Use bulk operations

* Use zero-sized arrays in toArray

* Add early exits

* Remove redundant addAll

* Fix missing reflection generic types

* More missed language migration aids

* Redundant type arguments

* Redundant type casts

* Fix compilation errors

* Use Arrays.fill

* Fix some missing generic types
2023-05-02 07:55:33 +02:00
repo-altandMartin Robertz d49fa7a61c Add a blank pattern refill upgrade to the pattern terminals (#305)
* Add a blank pattern refill upgrade to the pattern terminals
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/10614

* fix getDrops()
call refilling at the terminal open and when adding refill upgrade

---------

Co-authored-by: Martin Robertz <[email protected]>
2023-05-01 19:17:46 +02:00
asdflj fc06a71212 Add type filter (item/fluid) toggle to the terminal (#262) 2023-03-12 16:07:00 +00:00
Raven Szewczyk 385e163974 [ci skip] spotlessApply with the new settings 2023-01-29 09:18:04 +00:00
Raven Szewczyk a40ee7424f Update buildscript, apply spotless (#175) 2022-09-01 13:27:40 +02:00
firenoo e889be3f91 Revert "appeng/client/gui: Add IFocusableGui.java (#171)" (#172)
This reverts commit 209d0092a1.
2022-08-29 19:55:05 +02:00
firenoo 209d0092a1 appeng/client/gui: Add IFocusableGui.java (#171)
appeng/client/gui/implementations: Implement IFocusableGui in classes.

	Exposes the MEGuiTextField#isFocused() method in classes that
use a MEGuiTextField.

	This commit is for preparing a fix for a bug with
FindIt/ExUtils' "Search in world" feature. This interface will be used
to determine whether to allow FindIt to work when in an AE2 Gui.

Signed-off-by: Firenoo <[email protected]>

Signed-off-by: Firenoo <[email protected]>
2022-08-29 07:06:08 +02:00
Albi b5309da1a1 Added GUI color customizability through lang file (#156)
* Make UIcolors for drawRect customizable through .lang file

* Add default color values to US lang file

* Added color customizability to all UI texts

* Fix console logging when lang file doesn't have the corresponding entry
2022-08-03 21:58:00 +03:00
slprime ec72775401 update pattern terminal (#143) 2022-06-03 19:40:07 +02:00
slprimeandSerghei Borovetchi 36f9020675 improve interface terminal (#139)
Co-authored-by: Serghei Borovetchi <[email protected]>
2022-05-20 11:32:22 +02:00
miozune 802079320f Searchbox improvements (#120)
* Searchbox improvements

* Fix behavior when focusing on NEI
2022-03-02 16:17:15 +01:00
repo_alt c9f11366ed Drop to search string 2021-11-23 19:22:45 +03:00
SirFell cc7b890926 Make Crafting Status button mode optional. Config options: Button - like rest of interface buttons TILE - old AE2 style in top right
(cherry picked from commit bd73595e4c0762a723fdd03839bf8267ff549ae5)
2021-11-21 11:19:39 +03:00
SirFell 8374a6fc31 Move Crafting Status button to other buttons of terminal UI 2021-11-21 11:19:38 +03:00
repo_alt f665f7b9c6 Save search setting in GUI
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/8233
2021-07-18 14:07:57 +03:00
repo_alt 7cdd300e2c fix weird name clash between ITooltip.getWidth and GuiTextField.getWidth 2021-07-06 22:32:28 +03:00
repo_alt 1fa55f66e0 Added client config to not preserve the search string in terminals
Added tooltip to the search bar, that it may be cleared via right click
2021-06-27 14:09:33 +03:00
repo_alt 9485097604 make search string persistent
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/6915
2021-02-22 19:26:49 +03:00
xsun 53d3eafdbf clean up completely.(Although I think Intellij IDEA did a lot of useless thing) 2017-04-12 22:10:28 +08:00
yueh c9ef1beea1 Refactored the logging
Using LogManager instead of FMLRelaunchLog to access the logger instance.
Added logging of the name of failed exports instead of exception.
Improved crafting log to include issuer including their location and the
requested item.
Removed superfluous FMLRelaunchLog instance.
Removed superfluous parameters for PlayerData constructor.

Closes #2009
Refs #2069
2015-12-26 23:14:29 +01:00
yueh 500fc47490 Reduces visibility of internal fields/methods
Reduces the visibility of all fields to private and create setters/getters
when necessary. Exceptions are fields with GuiSync as these need to be
public.

Reduces the visibility of internal methods to private/protected/default when possible.
2015-10-30 18:52:20 +01:00
thatsIch 410d2f1e0d final variables and parameters
seeing some methods it does actually help to enforce the parameters
2015-09-26 21:08:18 +02:00
thatsIch 0387d30d1c Reduce scope of variables 2015-09-26 20:07:51 +02:00
thatsIch 734d50d086 prefer isEmpty over length() == 0 2015-09-25 23:18:27 +02:00
yueh c21a44d8c0 Organize imports 2015-08-06 19:06:49 +02:00
yueh 5aaaeb6d42 Closes #12 Added visual lock state to monitors
Some general refactoring of every monitor including panels and terminals.
Disabled glPushAttrib and glPopAttrib for StorageMonitor as this can be a
performance issue.
2015-06-06 17:00:52 +02:00
yueh f3db010303 Merge pull request #1461 from yueh/fix-1389
Fixes #1389 Enabled repeatable keyboard events
2015-05-19 00:53:22 +02:00
thatsIch 192848e383 Uses an instance factory access for AE2
Removes the improper way to set itself into a public static non-final variable.
Removes the direct access to the IntegrationRegistry from AppEng. Will be added at some later point somewhere else for non-singleton access.
Constructor is set to package private to enable possible construction from unit tests. Are current not runnable sind it is currently tied to the FML Loader instance.
2015-05-16 20:48:32 +02:00
yueh 96e79e9d9c Fixes #1389 Enabled repeatable keyboard events 2015-05-16 11:34:18 +02:00