aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
AgeCommit message (Collapse)Author
2022-09-08fix GT_Packet_SetLockedFluid not setting lock mode (#1356)Glease
* fix GT_Packet_SetLockedFluid not setting lock mode also fixed drag and drop from NEI handler got called when drag and drop from main inventory * fix lockFluid overwriting mMode == 8 * add markDirty() call
2022-09-08fix(API): GT_Fluid (#1349)Léa Gris
* fix(API): GT_Fluid - Fix: Use registeredFluid instead of GT_Fluid to configure Materials and containers to prevent crashes when retrieving fluids referrences from those. - Impr: Adjust fluid luminosity computation to better fit with Tungsten as maximum - Impr: Remove transparency from the fluid.molten.autogenerated.png texture to prevent molten materials to appear dilluted. * ./gradlew :spotlessApply * rev(comment): address review comment from @Glease rev: https://github.com/GTNewHorizons/GT5-Unofficial/pull/1349#pullrequestreview-1098651647 fix: Logic to handle working with own registered fluids and already registered fluids. imp: Some IGT_Fluid methods requires the fluid to be registered, throws an IllegalStateException on use at an unregistered fluid. imp: Normalizes @inheritDoc no additionnal text allowed
2022-09-07disable buggy cosmic item renderer (#1354)Glease
* disable buggy cosmic item renderer * spotlessApply (#1355) Co-authored-by: Glease <4586901+Glease@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-07fix (#1353)BlueWeabo
2022-09-06Fix overly large sprites being used causing some users FPS lag (#1347)Glease
* fix sprite abuse * Spotless apply for branch fix/sprite-abuse for #1347 (#1348) Co-authored-by: Glease <4586901+Glease@users.noreply.github.com> * convert gaia spirit Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-05feat(API): Implements a featured API for GT_Fluid (#1345)Léa Gris
* feat(API): Implements a featured API for GT_Fluid *** Rationale The current implementation, which is based on the `GT_Fluid` object, does not allow for the evolution of the functionalities, or the variation of the fluid-related implementations in GregTech. *** Objectives This replacement API should free from these constraints, by providing : 1. The separation of responsibilities of the different tasks and steps: - The definition and progressive construction of an `IGT_Fluid`, - Registration of the `IGT_Fluid`, - Configuration of related equipment, such as containers, - Propagation of properties of an `IGT_Fluid` to related services such as Materials 2. The separation of interfaces exposed to the API from their internal implementations to allow: - Evolve the implementations in the most transparent way possible - To have internal GregTech implementations or outsourced implementations coexist in its extensions. *** Specificity of this new API - Provides a new interface to build and interact with fluid related records - Deprecates the old `api/objects/GT_Fluid` object and the `common/GT_Proxy.addFluid` record methods * fix(conversations): addresses @Glease review comments https://github.com/GTNewHorizons/GT5-Unofficial/pull/1345#pullrequestreview-1096261703 * ./gradlew :spotlessApply * fix(review): add review comments from @eigenraven Added missing final qualifiers on methods parameters. https://github.com/GTNewHorizons/GT5-Unofficial/pull/1345#pullrequestreview-1096318523 * fix(review) address remaining review comments from @eigenraven
2022-09-04fix potential index out of bound in assline (#1344)Glease
2022-09-03merge in ASM-ed in changes from gt++ (#1339)Glease
* merge in ASM-ed in changes from gt++ * Spotless apply for branch gtpp-asm-merge for #1339 (#1340) Co-authored-by: Glease <4586901+Glease@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-02Add Drag-And-Drop support for digital tank (#1333)miozune
* Add Drag-And-Drop support for digital tank * lockedFluidName is null in old save
2022-09-01impl(covers): functional covers uses machine casing (#1317)Léa Gris
* impl(covers): functional covers uses machine casing - Functional covers now will let see the casing, when placed on machines. - When placed on pipes or frames, they continue to use their own tiered casing as they used to. * impr(cover): restore backward compat interface to cover registgration Registering covers with the old interface works again. Legacy cover registration just produce covers that renders the old way without transparency over machine casing. Removed the useless GT_Cover_Cased class and added the feature to the GT_CoverBehavior class, maintaining the old constructor alongside the new constructor with an overlay texture. * impr(covers): deprecate old constructors Delete totally redundant and unused EnergyOnly cover Keeps other unused covers as TODO reimplementation tasks * impr(covers): fludStorageMonitor overlay - Re-add FluidStorageMonitor fluid-texture overlay - Allow light-emitting fluids to render as glow texture. * impr(covers): Expand foreground texture support to GT_Cover_FacadeBase * spotlessapply
2022-09-01Digitalize Super Tank part 2 (#1331)くぁーりぃ
* fix super tank pipe connecting issue * Add fifth button and fix translation key * apply spotless * fix
2022-09-01Sodium potassium (#1322)Martin Robertz
* Add a new way get Sodium Potassium Add Fluid Sodium to gt * spotless remove old NAk and Helium cell recipes * derp * add liquid sodium texture (cherry picked from commit bd050330f91e0306e156f6a130783e867661338a) * add liquid sodium cells (cherry picked from commit 45f988cf3bbca43abf3f07a0a8e7ba891b8727a3) * move recipe to core mod (cherry picked from commit 7db15cd792136abac6fb88c9a7fa9d05f1f0619e) * add a heater recipe without a input fluid * Revert "move recipe to core mod" This reverts commit 9d5ff875a00e59c6edb52336b7d9c20889d9bd9b. * use fluid heater recipe without input fluid * Spotless apply for branch Sodium-Potassium for #1322 (#1328) * Two slots wiremill (#1324) * add a circuit slot to wiremil * add circuits to wire recipes * add 2 input slots to Wiremil * exchange circuit and material slot * add 2x-16x wires to wiremil * add missing 12x wires * add slot migration code (#1326) * spotlessApply (#1327) Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: GitHub GTNH Actions <> Co-authored-by: Glease <4586901+Glease@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * spotlessApply Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: Glease <4586901+Glease@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> * Revert "Spotless apply for branch Sodium-Potassium for #1322 (#1328)" This reverts commit 5bf31ffddfeddd1c4d161d434abb8402939ec9d6. * spotless * make fluid heater working with <1 fluid (cherry picked from commit 8045cf6f03d0ce030b8e7b2fa6c70dca6d9ccc5d) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
2022-08-31Two slots wiremill (#1324)Martin Robertz
* add a circuit slot to wiremil * add circuits to wire recipes * add 2 input slots to Wiremil * exchange circuit and material slot * add 2x-16x wires to wiremil * add missing 12x wires * add slot migration code (#1326) * spotlessApply (#1327) Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: GitHub GTNH Actions <> Co-authored-by: Glease <4586901+Glease@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-29Digitalize Super Tank (#1318)くぁーりぃ
* add new GUI * make gui interactable * make later three buttons actually function * add auto output feature * do localization * apply spotless * spotless pt.2
2022-08-29Fix right-clicking against air cannot open configuration circuit GUI (#1320)miozune
2022-08-28Removed Infinity and Cosmic NT centrifuge (#1314)Runakai1
2022-08-28RemovePAEnergyDiscount (#1315)BlueWeabo
2022-08-28fix multi input hatch doesn't work properly in oil cracker (#1308)Yang Xizhi
* fix multi input hatch doesn't work properly in oil cracker * spotlessApply (#1309) Co-authored-by: Yang Xizhi <60341015+GlodBlock@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> * crap * remove debug log Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-28add breaks in switch (#1313)BlueWeabo
2022-08-27Make MultiSmelter able to do more than 128 parallels (#1310)BlueWeabo
* Make MultiSmelter able to do more than 128 parallels The multismelter was before only able to do 128 and it got to that with HSS-G coils. With this change it will be able to go above that with the higher tier coils. This change won't cause any more lag than it is currently creating. * undo public method * spotlessApply (#1312) Co-authored-by: BlueWeabo <76872108+BlueWeabo@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-08-27Update buildscript & apply spotless (#1306)Raven Szewczyk
* Update dependencies * Update buildscript, apply spotless
2022-08-26Fix Stocking ME Input bus item amount client side display on dedicated ↵repo-alt
server (#1304)
2022-08-26remove debug print; keep disabled for nowJason Mitchell
2022-08-26WIP Texture supportJason Mitchell
2022-08-26Add burn time for Diamond in GT way (#1300)くぁーりぃ
2022-08-26Add more cells for GTNH fluids (#1299)miozune
2022-08-25feat(vent_cover): cool hot-coolant (#1298)Léa Gris
Provides a low tech method to cool down hot-coolant using vent covers. It is meant for reprocessing hot coolant before having access to a Large Heat Exchanger or a VacuumFreezer. The tier of vent cover and the type of aire or water in front of it determines the cooling speed. Feature preview: https://youtu.be/g5a-WuVBqOI
2022-08-24Show voltage tier for UnspecifiedEUPower (#1296)miozune
2022-08-24Remove Hermetic Casing XV (OpV) (#1295)miozune
2022-08-24update assline tooltips (#1294)RIONDY 'POPlol333' Adam
* add all bw glass and warded glass * update tooltips
2022-08-24add all bw glass and warded glass (#1293)RIONDY 'POPlol333' Adam
2022-08-24Disable calcification when using distilled water (#1290)Stēlla Caerulea
Disable calcification when using distilled water.
2022-08-23 Fix multiblock boilers not detecting firebox (#1291)Glease
2022-08-23Refactored built-in integrated circuit support (#1284)repo-alt
* Refactored built-in integrated circuit support Added built-in integrated circuit to input buses * fix spacing
2022-08-23reworking drilling plant following 0lafe ticket (#1286)RIONDY 'POPlol333' Adam
* reworking drilling plant following 0lafe ticket * thanks, fixed * here the mighty method
2022-08-23Fix fusion display stuff (#1288)miozune
2022-08-23https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/11102 (#1289)repo-alt
2022-08-21IndiumBee (#1282)Runakai1
* IndiumBee Added Indiumbee * Bee change REduced chance to 2% added venus dim requirement * Updated Infinity Bee Infinity bee had a 100 chance divider which was unreasonably high considering its blocked from mutatron.
2022-08-21Centrifuge Changes (#1280)Runakai1
* Centrifuge Changes All of the Centrifuge recipes for bees were a joke. Thus, I kept chances and made it output a full dust instead. Also, Infinity Catalyst, Cosmic Neutronium and Infinity are properly integrated into their respective tiers with better chances. + fixed spelling mistake * Dependencies and Neutronium removed dependencies I added made neutronium bee output 1 nugget instead of dust- was a mistake by me in bees balance changes. Should have been a nugget from the beginning.
2022-08-20Some fixes for the new input bus (#1278)repo-alt
* Fix a circuit slot position "Borrow" item size rendering from AE2 * Add existing type check
2022-08-20Don't modulate color when rendering fluid (#1277)Vladislav Laetansky
* Bind atlas according to sprite number * Don't modulate color when rendering fluids
2022-08-20Don't disable blending before overlay rendering (#1275)Vladislav Laetansky
* Don't disable blending before overlay rendering * Yeet unnecessary color reset
2022-08-19ME input bus, gives the multiblock direct access to the 16 selected item ↵repo-alt
types (#1271) * ME input bus, gives the multiblock direct access to the 16 selected item types * Reworked GUI to match the normal interface * Don't need to duplicate shadow slots Sync can (better) be done in `endRecipeProcessing`, in case some multi doesn't call `updateSlots` or does it at the wrong time * Clarify name, to distinguish from the (future) Buffering and Crafting buses * Make the GUI 4x4 again * Make the 4x4 GUI actually work * Make ghost item show item amount * Remove unimplemented code remnants Co-authored-by: Sampsa <sampo.vanninen@aalto.fi>
2022-08-19Changes to the PA code (#1272)BlueWeabo
2022-08-19Meta Generated Items renderer overhaul (#1269)Vladislav Laetansky
* Meta Generated Items renderer overhaul * Adjust naming * Force alpha test * Properly render overlay
2022-08-19more autoplace utility/fixes (#1245)Glease
* allow building multiple anyOf structure elements in same batch * port utility from gt++ * add shouldSkip to hatchClass and hatchIds * minor improvement to DT structure code * pass in trigger stack * add makeshift translation for item hint * fix lcr not having autoplace
2022-08-19Allows the Plasma Turbine to add hatches to the top and bottom (#1241)Runakai1
* Allows the Plasma Turbine to add hatches to the top and bottom * Added dynamo sides to change
2022-08-18no more magical texture index (#1249)Glease
* no more magical texture index * add a reverse map for fxxk sake
2022-08-18Fix multi smelter output for non-full stacks (#1270)greesyB
2022-08-16Fix multi smelter for one to multiple recipes (#1266)greesyB
* Fix multi smelter for one to multiple recipes * Do not manually split stack size