aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-04-27fix(logspam): spam unification typos (#514)Léa Gris
Address issue: [Gregtech.log spam with 6724 lines of "Unknown Key for Unification, Typo?" #7866](https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/7866) - Fix the logic for logging possible Typos (prioritise least cost) - Improve reverse recipes by excluding ore names of tools early to prevent unexpected and un needed unification lookups - Turn off unification typo logging in reverse recipes Reduced unification typo spam from 6724, down to 11 remaining entries: ```none circuitGood circuitData circuitElite circuitMaster circuitUltimate circuitSuperconductor gearSteel gearAluminium gearStainlessSteel gearTitanium gearTungstenSteel ```
2021-04-26fix(exception): class not found is normal when galactic greg absent (#512)Léa Gris
Remove useless stacktrace by the worldgen loader when Galactic Greg is absent.
2021-04-26fix(multiblockbase): until the muffler has a valid tileLéa Gris
address issue [NPE in GT_MetaTileEntity_MultiBlockBase.java:314 until the muffler has a valid tile #7454](https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/7454)
2021-04-26Rescan for oil fields after chunk range config change.Glease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-04-26fix(hidecover) unchained posttick caused missed texture and size changeLéa Gris
Add missing chaining of the `onPostTick` event handler to parent class. `GT_MetaPipeEntity_(Cable|Pipe|Fluid)` classes were not forwarding the `onPostTick` event handler to their parent `MetaPipeEntity` class, so pipes were not rendering the change unless another machine tile which did properly chain the event handler to its parent (like `GT_MetaTileEntity_TieredMachineBlock`) was present in same chunk.
2021-04-24Merge pull request #505 from GTNewHorizons/fix_itemblock_brightnessMartin Robertz
fix(rendering): itemblocks inventory brightness and orientation
2021-04-24cleanup(todo): remove done todo tasks mentionsLéa Gris
WAILAPlugins has been updated to the new solar boiler interface. Deprecated methods are left behind for backward compat with older plugins. Rebase from experimental
2021-04-24Optimize config codeGlease
1. Reuse same config across all solar boilers of the same class 2. Remove shading of config field in subclass Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-04-24fixes(solarboiler): integer math, waila plugin interface, configLéa Gris
- Fix integer math of getProductionPerSecond by moving the multiplier ahead. - Fix and deprecate WAILAPlugins interface by returning ratio adjusted values. - Simplify the inner Config class.
2021-04-24impr(solarboilers): abstracted the configLéa Gris
2021-04-24fix(solarboilers): fixes and QOL improvementsLéa Gris
- Change run-time counter from seconds to ticks since solar boilers are ticking every 10 ticks, or 0.5 second. - Prevent run-time counter from overflowing Integer.MAX_VALUE ticks. - Fix missing check of available steam before pushing to output. - Fix the cool-down rate that broke in GTNH 2.1.0.6. - Make the solar boilers entirely configurable.
2021-04-24impr(solarboilers): configurable solar boilersLéa Gris
2021-04-24refactor(solarboilers): reorganise cleanup factorise codeLéa Gris
2021-04-24Fix solar boiler heat up speedGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-04-21Update GT_MachineRecipeLoader.javaElisis
Fix the rest of https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/7798
2021-04-21fix(rendering): itemblocks inventory brightness and orientationLéa Gris
- Fix itemblock brightness and orientation to be exactly same as vanilla blocks in inventory. - Revert machine front facing to the brighter left side as it eases differentiating them. - Optimise inventory itemblock rendering to issue a draw quads only once for the entire block, rather than for each side.
2021-04-14Fix waila display for solar boilersGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-04-13Fix solar boiler outputting to wrong directionGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-04-10Merge pull request #499 from GTNewHorizons/revertMartin Robertz
Revert "Fix return value for addOutput(fluid)"
2021-04-10Revert "Fix return value for addOutput(fluid)"Johann Bernhardt
This reverts commit 95fb72834838aa365afd4c418b7b70c66644ffc2.
2021-04-10Fix ME output busGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-04-10Optimize addOutputGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-04-04fix(rendering): multiple rendering fixes and refactor (#494)Léa Gris
* fix(rendering): multiple rendering fixes and refactor - Fix rendering gregtech machines in inventory with correct orientation and lighting. - Fix rendering of pipes connected through covers, no longer z-fight at a distance. - Fix updating of textures when un/holding a soldering-iron. - Refactor of the GT_Renderer_Block class with properly named constants replacing raw literals.
2021-04-03Merge pull request #486 from johnch18/mccoverfixMartin Robertz
Made machine control covers disable themselves upon power loss
2021-04-03Polished GT_MetaTileEntity_Boiler (#492)bartimaeusnek
2021-04-03Merge pull request #487 from GTNewHorizons/boiler-cleanupMartin Robertz
Ensure conservation of masses in boilers
2021-04-02Fixed improper loading of bSortStacks from NBT, *should* fix backwards ↵charles
compat issue.
2021-04-03Ensure conservation of masses in boilersGlease
Unified single block boiler logic Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-04-02Added scanning data reflecting if device shut down.charles
Added notification to player that device shut down. Added scanning data reflecting if the device was disabled by soft mallet, cover, etc.
2021-04-02Cleaned up some code and fixed translation issue.charles
2021-04-02Removed unecessary else branch.charles
2021-04-02Added Soldering Iron toggle behavior for sorting using shift+right-click.charles
Sorting defaults to disabled in order to not break existing builds.
2021-04-02Fixed stupid error I madecharles
Set groundwork for configuring with soldering iron.
2021-04-02Added sorting of buffer inventories using code from the input bus class.charles
2021-04-01Prevent multiple stack in input slots even if input filter is disabled (#489)Glease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-03-31Fix return value for addOutput(fluid)Johann Bernhardt
2021-03-30Added GUI interface for cover "Safe Mode"charles
Added tracking of last player to access a cover for future notification purposes.
2021-03-30Updated to use proper naming conventions.charles
2021-03-30Merge https://github.com/GTNewHorizons/GT5-Unofficial into mccoverfixcharles
Fixing my sh*t because apparently I can't use git
2021-03-30Revert "Added Naquadria Fusion Reactor recipe."charles
This reverts commit 5bb2ed3deb2f95765fc2467da5ba98e651e8e44c.
2021-03-30Revert "Added T3 Molten Naquadria Recipe to Fusion Reactor."charles
This reverts commit 1d2a62aeda030eb751844a5f1ca86158220f130e. Cleaning Commits
2021-03-30Revert "Added Naquadria Fusion Reactor recipe."charles
This reverts commit 5bb2ed3deb2f95765fc2467da5ba98e651e8e44c. Cleaning commits
2021-03-30Made it so that machine control covers disable themselves when thecharles
machine runs out of energy
2021-03-30Eagerly update the fluid display item upon inventory openGlease
There might be small desync for the first person to open this GUI Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-03-30Only update fluid display items when necessaryGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-03-28Merge pull request #483 from GTNewHorizons/magic-gen-buffMartin Robertz
Reduce price of magic generators
2021-03-28Reduce price of magic generatorsGlease
Basically make the recipes use T+1 circuits/metal instead of T+2. EV magic generator will additionally require tungsten steel plates to prevent it from becoming too cheap. Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-03-26Merge pull request #480 from GTNewHorizons/patch_stone_coverMartin Robertz
fix(covers): stone plate cover block texture selection
2021-03-26fix(covers): clay plate cover block texture selectionLéa Gris
Add the ore dicitionary name `blockClay` to the `minecraft:clay` block, so it can be selected with prefix `block` and material `clay` when registering the clay plate cover's block texture.
2021-03-26fix(covers): glowstone plate cover block texture selectionLéa Gris
Add the ore dicitionary name `stoneGlowstone` to the `minecraft:glowstone` block, so it can be selected with prefix `stone` and material `glowstone` when registering the Glowstone plate cover's block texture.