aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
AgeCommit message (Collapse)Author
2023-01-23Fixes parallel helper (#1674)BlueWeabo
* fixes * safety features * spotless * pain * math hard * math is very hard * eight or seven * more null checks
2023-01-20Fix cover data not being set at all (#1669)miozune
2023-01-20MTE Inventory updates (#1496)Jason Mitchell
* MTE Inventory updates * Separate Input/Output inventory * Use a LinkedHashMap to ensure inventory orders are deterministic * Input/Output work on either Input/Output inventories * MTE Inventory * Add GT_Packet_MultiTileEntity * More dyanmic packet with packetFeatures * Add IMTE_HasModes for MultiBlockPart * Help with MTE Inventory (#1613) * convert inventory to use ItemStackHandler * Update MUI * inventories * move Iteminventory to its own method Co-authored-by: miozune <miozune@gmail.com> * Update MUI * Update MUI * Add IMultiBlockPart * Mte fluid inventory (#1639) * first work on fluid inventory * make gui work with numbers not dividable by 4 * use math.min * add outputfluids saving * actually working * Update MUI Co-authored-by: miozune <miozune@gmail.com> * Ticking Covers! * Parts now register covers with the controller * Controllers now tick covers on parts * Break cover ticking out into `tickCoverAtSide` Fix some inventory methods on MultiBlockController * Filter on tickable covers * Improve GUIs for MTEs (#1650) * working controller GUI * locked inventory selection work * input and output locking of inventories Co-authored-by: miozune <miozune@gmail.com> * spotless * CoverInfo refactor (#1654) * Add `CoverInfo` and deprecate the old fields to hold cover information * Disable MTE registration * Fix NPE - Return EMPTY_INFO for SIDE_UNKNOWN Temporarily add back old NBT saving in case of a revert so covers aren't lost. * Actually save the old NBT data, instead of empty Co-authored-by: BlueWeabo <76872108+BlueWeabo@users.noreply.github.com> Co-authored-by: miozune <miozune@gmail.com>
2023-01-20Add Hazmat enchant to add Full Hazmat protection to an arbitrary armor item ↵David Lindström
(#1663)
2023-01-20Parallel helper for all addons to use. (#1657)BlueWeabo
* work on parallel helper * spotless hell * working? parallel * spotless * documentation * spotless * revert useless addition * fixes * spotless bs * remove commented code * remove outer if and make batchmode void protected
2023-01-20More quad input hatches (#1668)TheEpicGamer274
* Optical Line-Water line & Items * Spotless apply * Spotless applies + Optical Board * Adding more Quad Hatches
2023-01-18Added getter if machine is rain proof (#1662)Maxim
* Added getter if machine is rain proof * Extract rain checker to prevent needless computation * Minor refactoring
2023-01-17Optical Line Items & Fluids added (#1658)TheEpicGamer274
* Optical Line-Water line & Items * Spotless apply * Spotless applies + Optical Board
2023-01-16Return max value if no tier was found (#1655)Maxim
2023-01-14Added getter for average voltage (#1653)Maxim
2023-01-14Add connection type getter (#1652)Maxim
* Added connection type and getter * Added getter for total eu * Replace old getters
2023-01-12Moved amp getter from energy hatch to hatch class (#1647)Maxim
2023-01-12Added getter for working amperes of a hatch (#1646)Maxim
* Added getter for working amperes of a hatch * Replaced max input amp getter with call to working amp getter
2023-01-10Fix breaking drawer voids items (#1645)miozune
2023-01-07remove exception, instead calculate (#1638)BlueWeabo
2023-01-06save oversized output stacks properly (#1635)Glease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2023-01-06Optimize `denyMobSpawn` slightly. (#1633)Jason Mitchell
* Optimize `denyMobSpawn` slightly. * Don't try to load the tile if we're outside of the max possible range of a Repellent
2023-01-05Allow overriding more progressbar textures & Add document for resource packs ↵miozune
(#1632)
2023-01-04force compound to be grouped together in chemical formula (#1630)Glease
* force compound to be grouped together in chemical formula Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * patch up glass chemical formula Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * merge two toString Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2023-01-03Add new Weed-EX 9000 (#1615)Jakub
* Add new Weed-EX * Add more pollen * Change material ID * Remove fluid recipes * Remove pollen * Remove cells
2023-01-02Change Tungstensteel to Require TPV Coils (#1628)Steelux
2023-01-02add callhook for pre block destroy (#1625)Glease
* add callhook for pre block destroy Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * spotless Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2023-01-01Add a Overclock Calculator for multis and the like to use (#1617)BlueWeabo
* add calculator and unit tests * use math.ceil * math.ceil everywhere * add some more unit tests and add onetick discount possibility * add an exception when trying to get the consumption before calculating * spotless oops * convert PCB Factory to use the OC calculator * fix tests trying for wrong values * fix copy paste error * address reviews * this should be there too.
2023-01-01fix waila displaying wrong generated eu/t (#1621)Glease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2023-01-01TungSteel to TPV (#1622)Pxx500
2023-01-01Changed (sg) to * instead (#1620)Ethryan
2023-01-01Heating element change (#1618)Pxx500
2022-12-30Improve NEI customizability (#1583)miozune
* Move descriptions to recipemap * Move tooltips to recipemap * Move overlays to recipemap * Use shared code for generating grid positions * 2 fluid inputs for freezer recipes * Add deprecation javadoc
2022-12-30Add Failsafe for getCasingTextureForId to prevent null page. (#1612)Phineasor
2022-12-30disable auto recipe (#1611)chochem
2022-12-29Fix plasma turbine EU output (#1607)Connor-Colenso
* Revert "Turbine efficiency helper (#1562)" This reverts commit 3c852a0143cbfa864da59bdd0b2edab1fa4bf146. * Restore efficiency helper * Spotless Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-12-29Naphthenic acid (#1589)Martin Robertz
* add burn value for NaphthenicAcid 60k in Semi Fluid generator (cherry picked from commit 3fa145932b64025067e807f4ff900f51029d07bd) * add Naphthenic acid recipes and change a few (cherry picked from commit 8b6b6d72dd79b4549dccd3732ccca6e219dd8ce7) * spotless * fix error (cherry picked from commit db7b322cece6cf151f92ab6aa467bc8e4c84bda8) * Chemical balance fixes Co-authored-by: Pxx500 <81298696+Pxx500@users.noreply.github.com>
2022-12-29Add a way to remove a furnace recipe using the output instead of input (#1609)BlueWeabo
* add method * change method to remove all recipes with said output
2022-12-28remove autogenerated SiSG ebf recipe (#1588)Martin Robertz
(cherry picked from commit 4d3052e50b7de739c89c339d37a24297f3bb70fc)
2022-12-28adds molds and recipe generation (#1603)BlueWeabo
2022-12-28Add colored voltage tier display for Waila (#1598)miozune
* Add colored voltage tier display for Waila * Adapt to new methods
2022-12-28Allow resource packs to override individual progressbar textures (#1596)miozune
* Allow resource packs to override individual progressbar textures * spell: every + singular * Fix potential crash on server with FallbackableSteamTexture
2022-12-26Fix Battery Buffer accepting more than 1 items per slot (#1590)miozune
2022-12-23add NEI handler for ic2 fuel rods (#1580)Glease
* add NEI handler for ic2 fuel rods Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * fix typo Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * rename variable to cover up the original intention Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2022-12-22fix breeder acting as neutron deflectors instead of being heat neutral (#1579)Glease
2022-12-21fixed it (#1577)BlueWeabo
2022-12-21Add Block of Oriharukon (#1574)miozune
2022-12-21add some more waila display (#1570)Glease
* add some more waila display Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * rename some translation keys Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> * rename misleading variable names Signed-off-by: Glease <4586901+Glease@users.noreply.github.com> Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2022-12-21disable shift click in maintance hatch (#1571)Yang Xizhi
* disable shift click in maintance hatch * spotlessApply (#1572) Co-authored-by: Yang Xizhi <60341015+GlodBlock@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-12-20Fix color override not working (#1557)miozune
* Fix color override not working * Address review * rename
2022-12-20Uv lock (#1564)Léa Gris
* fix(GT_TextureBuilder): State check belongs to the build method. * fix(texture): lock orientation of large turbine controller Large turbine controllers displays the rotor's center of a 3-by-3 connected textures displayed on surrounding casings. To keep the rotor's center seamlessly aligned with the connected textures from the casings, it need to UV lock its orientation. Addresses issue: https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/11953 * fix(GT_TextureBuilder): correctly check worldCoord's state
2022-12-19Adapt SpaceTime and Graphene wire to Wiremill Configuration Circuit support ↵miozune
(#1566)
2022-12-19Fix NPE with multiblock explosion (#1565)miozune
2022-12-18Fix incorrect GT logo used for steam machines (#1561)miozune
2022-12-18Turbine efficiency helper (#1562)Connor-Colenso
* Add value to automatically determine highest possible turbine efficiency. * spotlessApply (#1563) Co-authored-by: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>