aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
AgeCommit message (Collapse)Author
2023-01-25Add status info of ME buses to Waila (#1684)miozune
2023-01-25Remove tooltip for ME buses mentioning GT++ void protection (#1683)miozune
2023-01-25EOH materials + Allow materials to pick their processing tier (#1671)Connor-Colenso
* Begin addition of tiered material manipulation * Dwarf matter * Add hardcoded EU tiers for wider usage. * New material images etc * Nugget processing tiers * Move iron nugget to wrought iron smelting to the correct place * Add white dwarf shapes * Add white dwarf shapes * Additional retiering options for EU consumption on material part generation * White dwarf matter complete * Tier neutronium processing at ZPM * Spotless * More adjustments * Renaming files * Add new overlays for magneto material and more name adjustments * Add no recipes subtag * Spotless + name adjustment * Undo isCustom to maintain potential public variable references in addons. * Undo isCustom to maintain potential public variable references in addons. * Fix fluid registry corruption. * Add rotor EU override * Add rotor EU override * Make neutronium mass more reasonable * Add proper time adjustments to rotor (probably an old oversight) * Adjust enums to use VP rather than recalculate * Fix typos on EU usage * spotlessApply (#1672) Co-authored-by: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> * Change setProcessingMaterialTierEU to accept long. * Small fix * Add space and time materials * Add new forge hammer support * Update tooltip * Expand laser engraver slots. * spotlessApply (#1673) Co-authored-by: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> * Reserve texture page. * Modernise GT circuit usage * Add oversight in assembler frame recipe * Add missing MHDCSM overlay textures * Remove small and tiny MHDCSM dusts * Fix error in ingot texture * Fix NO_RECIPES not applying to frame boxes * Restore missing ingot * Add rod handles for materials * Fix frame box auto generating with NO_RECIPEs tag * recipe * Spotless * Add MOD_ID_GTPP as modid * spotlessApply (#1675) Co-authored-by: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> * Remove smelting spacetime from furnace (why does this exist?) * Recipes + new storage blocks for materials * Bedrockium LuV -> EV * SpaceTime UMV -> UIV * TranscendentMetal UIV -> UEV * MagnetoThingy and dward mats UXV -> UMV * update buildscript * yeet magic number that could be * spotlessApply * Make the nanite tier 3, colen request * Up nanite tier * Comment * Change name * Change name 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> Co-authored-by: adam riondy <adampoplol@gmail.com> Co-authored-by: boubou19 <miisterunknown@gmail.com>
2023-01-24Fix array ClassCastExceptions (#1681)Raven Szewczyk
* Fix array classcastexceptions * Remove extra parens
2023-01-23fix (#1677)BlueWeabo
2023-01-23Fixed some EU/t values in Steam Turbines (#1678)Steelux
* Fixed some EU/t values in Steam Turbines * spotlessApply (#1679) Co-authored-by: Steelux <70096037+Steelux8@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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-17Remove hack, we no longer need it (#1661)Maxim
2023-01-17Optical Line Items & Fluids added (#1658)TheEpicGamer274
* Optical Line-Water line & Items * Spotless apply * Spotless applies + Optical Board
2023-01-17Revert "Lower the Hydrogen Cost of Hydrocracking (#1627)" (#1660)Pxx500
This reverts commit 427bc302bb672a90cf3adc4b4606a1a418a9a367.
2023-01-17Lower the Hydrogen Cost of Hydrocracking (#1627)Steelux
* Lower the Hydrogen Cost of Hydrocracking * Fix High Amounts of Returned Hydrogen
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-14Pulling the hardcoded ore behavior from TypeFilter (#1648)Andrey
Co-authored-by: Andrey <timeconqueror999@gmail.com> Co-authored-by: GitHub GTNH Actions <>
2023-01-10Fix breaking drawer voids items (#1645)miozune
2023-01-10Allow earlier initialization of exotic fluid cells (#1644)miozune
* Allow earlier initialization of exotic fluid cells * Rename method and move initialized check to inside * Use null check and remove mHasNotBeenInitialized * Always set itemstack * address review * address review * Update javadoc * Refactor tryToInitialize * Remove isStackAlreadySet from ID collision check
2023-01-08emergency fix for NPE in #1641 (#1643)Glease
2023-01-08allow filtering what is accepted in a fluid slot (#1641)Glease
2023-01-08Make GT_FluidDisplayItem.getChemicalFormula static (#1640)miozune
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-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 LV steam valve (#1624)chochem
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-30possible fix (#1614)Martin Robertz
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/12139 (cherry picked from commit 64f7433f2fab2eff618bb25997c303516fdab3f8)
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-29Fix inconsistency in naming (#1606)LewisSaber
2022-12-28fix (#1605)BlueWeabo
2022-12-28Remove void break from fluid tanks and chests (#1602)NexusNull
* Remove void break from fluid tanks Previously, sneaking while breaking a fluid tank would void the contents of the tank, leading to potential loss of valuable resources. However, this behavior is not consistent with other blocks, such as chests and furnaces, which retain their contents when broken while sneaking. This commit removes the sneak breaking voiding behavior for fluid tanks, bringing them in line with other blocks and reducing the risk of unintended loss for players. * run spotless * fix stray check for voidBreak Signed-off-by: NexusNull <p.wellershaus@googlemail.com> * remove override Signed-off-by: NexusNull <p.wellershaus@googlemail.com> * remove void tooltip Signed-off-by: NexusNull <p.wellershaus@googlemail.com> Signed-off-by: NexusNull <p.wellershaus@googlemail.com>
2022-12-28make sugar maceration recipe shorter (#1586)Martin Robertz
* make sugar maceration recipe shorter (cherry picked from commit 55d85dc6ab315da3eb31e41667317e127a2059fe) * spotlessApply (#1587) Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: GitHub GTNH Actions <> * fix reed to sugar recipe Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-12-28adds molds and recipe generation (#1603)BlueWeabo
2022-12-28fix oredict name (#1600)Runakai1
Fix wrong oredict for blizz comb
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-28Fix tooltip for required input hatches (#1599)MadMan310
2022-12-27fix it (#1597)BlueWeabo
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-22oversight (#1578)Yang Xizhi
2022-12-21fixed it (#1577)BlueWeabo
2022-12-21fix huge power drain from me output hatch (#1573)Yang Xizhi
2022-12-20Don't allow inserting item into solar boiler for fuel and ash slots (#1568)miozune
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-19Fix PCB Factory 4th time the charm (#1560)BlueWeabo
* why does this keep happening * jave is bull shit * oooops * final fix * add location for the coolant hatch
2022-12-19Fix crash with Integrated Ore Factory and Nuclear Control (#1559)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>
2022-12-18Fix Regulator cannot control stack size of ghost slot (#1558)miozune
2022-12-17More Fixes to the PCB Factory (#1554)BlueWeabo
* why am I so bad at spotting bugs * fixes fixes fixes, who needs to reset multipliers * remove the comment * fix oc oops * fix the roughnessMultiplier * fix accidental energy discount * remove the useless hatch boolean * fix units