aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/gui
AgeCommit message (Collapse)Author
2022-01-03Basicmachine gui slots rework (#846)YannickMG
* Updated build script Also set developmentEnvironmentUserName = Developer * Added .vscode to .gitignore * Properly hide unused slots in basic machines - Adds methods to GT_Recipe_Map to determine whether it contains fluid inputs or outputs - Adds methods to GT_Slot_Holo to support turning it "off", which also turns off highlighting it on mouse-over - Uses those changes in GT_GUIContainer_BasicMachine to "turn off" slots unused by a machine - Some code clarification/deduplication in GT_GUIContainer_BasicMachine * Hide unused Replicator fluid output slot * Disallow filling fluid input tank if unused
2022-01-03Allow drag and drop from NEI to set output hatch locking (#845)Glease
* Allow drag and drop from NEI to set output hatch locking also cleaned up the output hatch networking code * Add not locked indicator
2021-12-31Basicmachine gui slots highlight fix (#841)YannickMG
* Updated build script Also set developmentEnvironmentUserName = Developer * Added .vscode to .gitignore * Properly hide unused slots in basic machines - Adds methods to GT_Recipe_Map to determine whether it contains fluid inputs or outputs - Adds methods to GT_Slot_Holo to support turning it "off", which also turns off highlighting it on mouse-over - Uses those changes in GT_GUIContainer_BasicMachine to "turn off" slots unused by a machine - Some code clarification/deduplication in GT_GUIContainer_BasicMachine * Hide unused Replicator fluid output slot
2021-12-18Add tooltip to ghost circuit slot (#821)Glease
Also tweaked allowPutStack to consider configured circuits as well.
2021-12-04Make machine reconfiguration interface a little nicerGlease
also tweaked the API a little for GT++ conf circuits and bartworks circuit programmer Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-12-02add select circuit gui for machine and circuits itself (#773)Martin Robertz
also fixed some issue with basic machine gui introduced in 9d42b299def1c41bbc7a1f01efe445be28f54399 also retrofitted volumetric flask to use the new INetworkUpdatableItem and GT_Packet_UpdateItem, deprecating MessageSetFlaskCapacity in the meanwhile. To open the gui for machine, shift-left-click the circuit slot To open the gui for circuit, click any block (need to be sneaking if it's chest, furnace, etc) with the circuit held in hand. Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
2021-12-01Remove debug messageGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-12-01Add a new ghost slot to single block machines for config circuitsGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-11-17convert ItemFilter to use NBTTagCompound storageGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-10-25Fix fusion stored energy amount flickeringGlease
2021-10-25Only send mContent when necessaryGlease
2021-10-25Fix quantum tanks fluid amount flickeringGlease
par2 Might be negative under certain circumstance, causing the mContent counter to be temporarily negative.
2021-10-22Try start processing immediately upon manual fluid manipulationGlease
2021-08-22unify gui drain fluid code path and add missing checkGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-07-30Remove debug printGlease
2021-07-15Merge pull request #597 from TimeConqueror/experimentalMartin Robertz
Improvements to Vanilla Replacement & GT_Utility#copy
2021-07-15Merge pull request #593 from GTNewHorizons/gui-manipulate-fluidMartin Robertz
Extended GUI fluid manipulation support to GT_MetaTileEntity_BasicTank
2021-07-15Removed useless array creation in most #copy methods by changing them to ↵TimeConqueror
#copyOrNull variant with single parameter.
2021-07-14Add option to not change GUI color based on paintGlease
2021-07-10Extended GUI fluid manipulation support to GT_MetaTileEntity_BasicTankGlease
2021-06-25Fix redstone cover UX being weirdGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-06-14Using explicit steam machine checkYannick Marcotte-Gourde
2021-06-13No auto-output rendering for steam basic machinesYannick Marcotte-Gourde
2021-05-24feat(glow): iconset machines glow supportLéa Gris
- Add glow support for all sides and states of iconset machines (same as with basicmachines). Automated code cleanup with IDEA of: - Optiimise all imports (remove unused, sort) - Reorder all modifiers to the canonical preferred order (as stated in the Java Language Specification) - Add all missing @Override annotations
2021-04-27fix(textfiles): add missing neline at end of filesLéa Gris
git and diff tools will complain if text file does not end with a newline. Fixed all text files in the repository with Linux bash shell: ```sh git ls-files -z | while IFS= read -rd '' f; do mime="$(file --brief --mime "$f")"; if [ -z "${mime##text/*}" ]; then tail -c1 "$f" | read -r _ || printf '\n' >>"$f"; fi; done ```
2021-03-30Only update fluid display items when necessaryGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-02-25Merge pull request #440 from GTNewHorizons/patch-water-bottle-divide-0Glease
Fix bottled water filling
2021-02-22Fix bottled water fillingGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-02-22Pickup fluid instead if the input tank is fullGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-02-10Fix bucket gui fluid manipulationGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-02-09Allows manipulating multiple cell worth of fluidGlease
Left click to do as many manipulation as possible. Right click to just manipulate once. Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-02-09Fix size 0 fluid stackGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-01-31Address reviewsGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-01-31BasicMachine fluid tank manipulations in GUIGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2020-06-01Added gui's for the rest of em covers.moller21
2020-05-10Cover GUI: added fluid regulator, finished open on shiftrightclick.moller21
2020-05-06Cover gui: Right click to open instead take.2moller21
2020-05-04Added cover guis for pump/filtermoller21
2020-03-17Refactored GT_Slot_Holo.javabartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-03-17Refactored GT_GUIContainerMetaTile_Machine.javabartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-03-17Refactored GT_GUIContainer_MultiMachine.javabartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-03-17Refactored GT_GUIContainer_BasicMachine.javabartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-03-17Refactored GT_GUIContainer_2by2.javabartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-03-17Refactored GT_ContainerMetaTile_Machine.javabartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-03-17Refactored GT_Container_MaintenanceHatch.javabartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-03-17Refactored GT_Container_BasicTank.javabartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-03-17Refactored GT_Container_BasicMachine.javabartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-03-17Refactored GT_Container.javabartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2018-07-21Revert changes for machine metal support, using different method now via ↵Richard Hendricks
coremod to enable disable.
2018-06-05Added option for disabling machinemetal tinting.Richard Hendricks