aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
AgeCommit message (Collapse)Author
2022-10-01Underground Fluid Fix (Fluorine, Liquid Air) (#1418)chochem
* underground fluid fix * spotless
2022-10-01merge togetherMartin Robertz
2022-10-01Merge branch 'advanced_redstone_covers'Martin Robertz
# Conflicts: # src/main/java/gregtech/api/util/GT_Utility.java
2022-10-01spotlessMartin Robertz
2022-10-01update BS+SAMartin Robertz
2022-10-01With recent changes, Allow PA to handle cell-less recipes (#1346)BlueWeabo
* add recipe maps, and allow PA to handle more than 1 fluid output * add some null checks * add forestry combs to the recipe map * safety null checks. * spotless
2022-10-01refactor(fluid_api): fluent interface (#1407)Léa Gris
* refactor(fluid_api): fluent interface Improves the initial construction model into a fluent interface. See: https://java-design-patterns.com/patterns/fluentinterface/ This change provides the built and saved states of a GT_Fluid, with their own interface, so that: object state validations are performed at build time, rather than causing an `IllegalStateException` to be thrown at runtime, with the previous implementation. This also allows the IDE to display and check the applicable methods for the GT_Fluid object's state, as it moves through the call chain. * hotfix off-by-one in FluidState.fromValue * minor: deduplicate buildAndRegister action * fix(withIconsFrom): needs dependency management Cracked fluid Icons were copied too early from non-cracked fluid within the `IGT_FluidBuilder`'s implementation. At this stage, the source Fluid has not registered its own icons yet, so the Cracked fluid got null Icons (fallback to Error checkerboard). This commit delegates the copy of the source fluid's Icons, to the `run` Icons texture's registration task; ensuring the source Fluid runs its own Icons textures registration before copying them, as a light-weight dependency management.
2022-10-01no-more-duplicate-key (#1424)iouter
2022-09-30fix inconsistency between oredict recipe and naive recipe (#1423)Glease
also unified the logic for two recipes as much as it makes sense
2022-09-30fix cleanroom showing wrong eu usage while starting up (#1425)Glease
2022-09-26Fix createIndexedRecipeListCache not considering recipes smaller than 3x3 ↵Glease
(#1416)
2022-09-26Fix muffler not stopping to run when multi is broken (#1411)Maxim
* Stop muffler when they are removed from the structure and when the controller is broken * Refactoring of muffler toggling
2022-09-24rollback(materials): tin ores multipliers (#1406)Léa Gris
Reverts changes from https://github.com/GTNewHorizons/GT5-Unofficial/pull/1150
2022-09-23Spotless applyMatej Dipčár
2022-09-23Fix previous oopsieMatej Dipčár
2022-09-23Move `hashCoverCoords` to WirelessBaseMatej Dipčár
2022-09-23Add new icon for the analog modeMatej Dipčár
2022-09-23Add cover texturesMatej Dipčár
2022-09-23Add new hook `preDataChanged`Matej Dipčár
2022-09-23Abstract `convertRatioToRedstone` properlyMatej Dipčár
2022-09-23Implement logic in Wireless Fluid DetectorMatej Dipčár
2022-09-23Add new cover itemsMatej Dipčár
2022-09-23Move advanced redstone API to Wireless BaseMatej Dipčár
2022-09-23Implement `onBaseTEDestroyed` hook for coversMatej Dipčár
2022-09-23Implement all advanced receiver modesMatej Dipčár
2022-09-23Fix map not updating when transmitter TE gets destroyedMatej Dipčár
The map is reset when player opens cover GUI
2022-09-23Add handling of multiple sourcesMatej Dipčár
2022-09-23Add Advanced Wireless Redstone CoversMatej Dipčár
2022-09-18fix incorrect code path for legacy survival autoplaceGlease
2022-09-18migrate to new survival autoplace api (#1382)Glease
* migrate to new survival autoplace api * reduce type of blocks autoplace will use this does not prevent those blocks from not being accepted into the structures though * implement getBlocksToPlace * fix survivalConstruct code for assline and DT i hate variable size multi :( * fix AIOBE * allow disabling machine block updates on a per-thread basis * make a sensible guess at what texture to use on server side * spotless * implement hologram support for bbf * spotless
2022-09-18add recipes to cooldown boron plasma into boron dust (#1389)Glease
2022-09-16duct tape fix for too many updates on an overloaded server preventing ↵Glease
structure check (#1384)
2022-09-11Adv debug structure writer (#1362)Maxim
* Added advanced debug structure writer * Applied spotless * Removed testing variables * Added client only to rendering * Added one client side annotation too much * Included requested changes * Applied spotless * Introduced variables for tooltip keys
2022-09-11Fix description of Input Bus showing 1 more slot capacity (#1376)miozune
2022-09-11Fix global wireless EU bugging by transferring to world NBT system (#1371)Connor-Colenso
* Transfer to NBT * Half working, write only. * Fix load data * Works, thanks Kuba. * spotlessApply (#1372) Co-authored-by: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> * Fix NPE in unit tests * Spotless * Move clear map * Spotless and import cleanup * Suppressions and warning corrections * Warnings, warnings, warnings smh. Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com> Co-authored-by: kuba6000 <kuba.123123.6000@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-11Use pre-defined methods to draw tooltips in GT_GUIContainer_DigitalTank (#1374)Alexdoru
* use pre defined methods to draw tooltip in GT_GUIContainer_DigitalTank * introduce private static final fields for string tooltip names
2022-09-10Waila improvements for basic machines (#1368)Vladislav Laetansky
* Fix waila facings for basic machines * Address review * Show process time only when machine is active * Show tick time for recipes with a duration less than a second * Address review
2022-09-09Move GT Tank button position (#1363)くぁーりぃ
* move digital tank button position * spotless * spotlessApply (#1364) Co-authored-by: くぁーりぃ <39122497+Quarri6343@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-09fix false GaiaSpirit texture not found warnings (#1359)Glease
2022-09-09Close the directory stream as specified by javadoc (#1360)Glease
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-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-07revert to spritesheet for block textures for gaia spirit (#1351)Glease
* revert to spritesheet for block textures for gaia spirit also removed now-unused transcendent metal block textures * Spotless apply for branch fix/animated-material-texture-fix for #1351 (#1352) 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-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 temperature of Molten Reinforced Glass (#1342)miozune
2022-09-04Fix blaze recycle recipes not being generated (#1343)miozune
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-03Fix reinforced glass (#1337)miozune
2022-09-02fix rare occasion of zero sized empty cell in electrolyzer output (#1335)Glease
* fix rare occasion of zero sized empty cell in electrolyzer output * Spotless apply for branch fix/zero-size-empty-cell for #1335 (#1336) Co-authored-by: Glease <4586901+Glease@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> * fix wrong comparator Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>