aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
AgeCommit message (Collapse)Author
2022-01-15add a cover copy/paste tool (#872)Yang Xizhi
* add a cover copy/paste tool * check server side
2022-01-14Add recipe filter block (#870)Glease
* add recipe filter block * Add tooltip to recipe filter GUI & improve type filter UI interaction now you can click special slot in type filter UI to directly set the oreprefix based on the stack held on the cursor
2022-01-14ME output bus cache refactored (#868)repo-alt
* Allow toolbox usage for maintenance w/o opening GUI (Also resolves https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9044) * ME output bus cache refactored Now the bus will infinitely cache items until you connect it to ME network (this means that any other (overflow) output buses will never receive anything by default) This behaviour is toggleable by the screwdriver.
2022-01-11The tooltips your mod wishes it had (#858)YannickMG
* Add network support for chanining GT Tile GUIs * Implemented Cover Tabs for IGregTechTileEntity See GTNewHorizons/GT-New-Horizons-Modpack#9367 for details * Added IGuiIcon For easier addon extensibility of GT_GuiIcon Also fixed Ghost Circuit tab tooltip overlapping right-side cover tabs * Typo fix * Fixed unintended scala import * Tabs -> Spaces on the files I've touched * Propagate needsSteamVenting to UIs * Note special slot usage Determine whether a machine's recipe list ever makes use of the special slot * Add 2 configurable tooltip verbosity levels * Readability pass * New tooltip cache for flexibility It loads a configurable amount of lines per key based on the user's chosen verbosity levels * Let GT_GuiTooltipJava to use verbosity and LSHIFT * "Smart" auto-hiding tooltips * GT_GUIContainerMetaTile_Machine tooltip support * Rework Basic Machine tooltips * Wordy tooltips -> extended tooltips (clearer) * Fixed off-by-one error on power slot tooltips * Cleanup
2022-01-10data access hatch now proactively update data sticks (#861)Glease
this is to combat the problem of TT data bank pushing not updated sticks as ghost item into assline, which then constantly reupdate said sticks. with this change even data sticks in TT data bank will update.
2022-01-10Cover tabs (#856)YannickMG
* Add network support for chanining GT Tile GUIs * Implemented Cover Tabs for IGregTechTileEntity See GTNewHorizons/GT-New-Horizons-Modpack#9367 for details * Added IGuiIcon For easier addon extensibility of GT_GuiIcon Also fixed Ghost Circuit tab tooltip overlapping right-side cover tabs * Typo fix * Fixed unintended scala import * Tabs -> Spaces on the files I've touched
2022-01-06Add in game GUI to configure client preference (#852)Glease
* Add in game GUI to configure client preference * Fix backslash
2022-01-05Normalize Fluid Canner fluid handling and looks (#847)YannickMG
* Normalize Fluid Canner fluid handling and looks - By disabling sharedTank (on this, the only machine that uses the feature) the fluid canner gains a proper output tank. - Fixes UI interactions with the taking fluids out of the invisible fluit output slot with cells - Harmonizes UI with the look in NEI and with other basic machines * Removed unused FluidCannerNEI.png
2022-01-05fix item stuck (#849)Yang Xizhi
* fix item stuck fix https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9338 * glease's suggestion
2022-01-04Add a bunch of minor optimizations (#848)Glease
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-30Refactors for easier reading (#839)Jason Mitchell
* Refactors * Common functionality to base classes * GT Pre/Postload broken into more modular pieces * Extract common (mainly cover related) functionality from BaseMetaTileEntity & BaseMetaPipeEntity
2021-12-30Fix GT_Packet_SetConfigurationCircuit not setting inventory dirty flag (#837)Glease
2021-12-24tt support for pa (#833)Yang Xizhi
* tt support for pa * remove anti pattern. clear up duplicated code fragments * fix copy pasting error * add vanilla energy hatch back Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
2021-12-24add more turbine texture (#835)Yang Xizhi
2021-12-23Rc blast furnace integration remove (#834)Martin Robertz
* remove RC Blasfurnace copy recipes during gt load * fixed wrong outcommented code
2021-12-23Optimize OrePrefixes.contains and OrePrefixes.add (#832)Glease
1. Convert global map mCachedResults to an instance field. 2. Convert the post add null check to a builtin null check via GT_ArrayList 3. Use new GT_ItemStack2 (which has a slightly better hash function than stackToInt)
2021-12-23Remove no longer needed smelting cache (#831)Glease
2021-12-23Add input filter to auto maintenance hatch (#830)Glease
2021-12-18Ignore stack size in collision checking (#825)Glease
2021-12-18Fix derp in BaseMetaPipeEntity during git merge (#824)Glease
Also added a bunch of fallback overrides to GT_Cover_None in the case of my stupid programming errors again
2021-12-18Add tooltip to ghost circuit slot (#821)Glease
Also tweaked allowPutStack to consider configured circuits as well.
2021-12-18fix input stuck (#822)Yang Xizhi
fix https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9171
2021-12-17Merge pull request #820 from GTNewHorizons/patch-multistack-preferenceMartin Robertz
Add allow multistack to client preference
2021-12-17Add allow multistack to client preferenceGlease
Default to false
2021-12-17Fix cover data not resetting on clientGlease
2021-12-15Fix assline recipe rejection (#810)Glease
Also slightly improved the data stick updating
2021-12-15change sb manchine filter logic (#808)Yang Xizhi
* change sb manchine filter logic it will allow sb machine to accept more one stack of the same item when filer mode is off. fix https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9107 * add another mode * forget lang change
2021-12-16Fix oversight in cover NBT migrationGlease
2021-12-15Move cache registration out of constructor (#806)Glease
2021-12-15turn on the stacksize chaeck by default (#804)Yang Xizhi
2021-12-15Fix TT assline recipe not being recognized (#805)Glease
2021-12-15Fix math to work on potato servers. (#802)Jason Mitchell
2021-12-13add unlocalizedname fluid map (#796)Yang Xizhi
* add unlocalizedname fluid map * change the lock name into fluid name
2021-12-13Yeet unused compat, including GT adding a bunch of RC rock crushing recipes ↵Jason Mitchell
:-/ (#798)
2021-12-12add infinite oil rig (#795)boubou19
* add infinite oil rig * fix typo * get same speed as the oil rig III * adjust speed for the infinite oil rig
2021-12-11add Cryolite Bee and combs (#793)Martin Robertz
* add Cryolite Bee and combs * add Cryolite Block
2021-12-10Overflows overflows everywhere (#791)Jason Mitchell
* Reformat * Stop energy calcs from overflowing by switching int->long in several places in the new graph code to be consistent with how they're used elsewhere.
2021-12-09Allow toolbox usage for maintenance w/o opening GUI (#790)repo-alt
(Also resolves https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9044)
2021-12-09Add threshold support to item and fluid covers (#785)D-Cysteine
* Add threshold support to item and fluid covers * Switch to storing in NBT * Add handling for migration path * Adjust item threshold max value
2021-12-08Fix assline oredict support (#786)Glease
* Fix assline oredict support * Fix assline hash generation depending on transient states
2021-12-08Distillation circuit (#784)Martin Robertz
* add input slots to Distillation Tower * borrow Large chemical reactor code to make it show up in Nei * add itemstack to Distillation multi machine code (cherry picked from commit e6e4203979340fc21f8ef4e1d6e9d0376afd3ef6) * remove unnecessary checks Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
2021-12-07Startup loading status reporting rewrite (#782)ElNounch
2021-12-05mitigate BLS's pedantic screen update problem (#777)Glease
For now, we attempt to not send more than 30 updates per second to make it happy
2021-12-05Refactor GT_MetaTileEntity_BasicGenerator (#779)Konstantin Denisov
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-01Merge pull request #763 from GTNewHorizons/patch-basic-generatorsMartin Robertz
Fix single block generators accepting stuff it shouldn't