aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
AgeCommit message (Collapse)Author
2022-04-24Use proper method for emptying container item (#1034)miozune
* Use proper method for emptying container item * Add javadoc
2022-04-21Fix machine rain exploding in biomes that does not have visual rains (#1026)Glease
* Fix machine rain exploding in biomes that does not have visual rains * update buildscript * Add missing boolean negation
2022-04-19Add Threshold to Energy Detector Cover (#1025)MuXiu1997
* Add Threshold to Energy Detector Cover * Fix things * Refactor
2022-04-18Multitileentity precursor (#963)Jason Mitchell
* Refactors * Refactor CoverableTileEntity a bit more, pull out a CommonMetaTileEntity * Add an IDebugableTileEntity interface instead of checking various subclasses * Move more redstone related things to CoverableTileEntity * Add IGTENet * Final and dead code removal * Address a few comments, fix a few comments, remove some more dead code, and add some more finals. * fix bad rebase
2022-04-13Fix NPE in item moving code (#1010)Glease
* Fix NPE in item moving code * fix erroneously adding an empty slot to filtered item stack destination list * only remove from free slot list if this is no longer a free slot * briefly document this huge function
2022-04-12Fix recipe optimization ignoring chanced outputs (#1021)miozune
2022-04-11add ALF3 for compatibilty reasonsMartin Robertz
2022-04-11Fix incorrect display for "currently locked" fluid in output hatch (#1020)miozune
2022-04-09Allow sifter the fluid io slots (#1017)Elisis
2022-04-08Loose Mode Turbine Changes (#1000)Steelux
* Loose Mode Turbine Changes - Changed Steam loose mode efficiency and optimal flow to improve this mode, especially on the lategame turbines. Efficiency was capped at 75% regardless of the regular value, with this change setting it to always be a percentage of the tight mode efficiency, down to 60% for those lategame turbines, and a maximum of 90% of the tight mode value for the lowest efficiency turbines. - Also changed the optimal flow calculation to grant a larger optimal flow in loose mode than it was before the change, for all turbines except the highest efficiency ones; - Improved the tooltip for these turbines, updating to these new values, fixing a typo and showing the EU/t for steam at optimal flow, in both modes. * Fixed Weird Spacing * Update GT_MetaGenerated_Tool.java * Remove Duplicate Formula for Loose Mode
2022-04-08Allows sorting of configuration circuits (#1012)MuXiu1997
* Allows sorting of configuration circuits * Fix things
2022-04-08Allow soldering to be inserted into toolbox and used for maintenance (#1002)miozune
* Suppress warnings "unmappable character" * Allow soldering to be inserted into toolbox and used for maintenance * Clearfy tooltip * Address reviews
2022-04-08add 4 input and 4 output slots to ebf (#1004)Martin Robertz
(cherry picked from commit 131d67ab7a58a5b0c00a6e711ab4e7558e036d78)
2022-04-07Remove ADVANCEDENTROPICPROCESSING (#1005)miozune
2022-04-07Disable generation of oredict equivalents for circuits in NEI if Custom ↵miozune
Diagram is loaded (#1003)
2022-04-04Add an override to assline recipe sanity check (#1008)Glease
* Add an override to assline recipe sanity check * Make it actually log the bugged recipe
2022-03-31Make gregtech machines mark the chunk they're in as dirty on updates (#1001)Jakub Szewczyk
* Make gregtech machines mark the chunk they're in as dirty on updates * Avoid any potential NPE in markDirty * Mark dirty on GT tool use (screwdriver/wrench/etc) * Fix multiblocks not marking hatches/buses as dirty too
2022-03-30Optimize item transfer and inventory sorting (#992)Jakub
* Optimize conveyors, input busses, chest buffers * More checks * More checks and fixes * Check for slot validity when sorting * Fix NPE * More optimization * Fix disable sort not working * Enable order in input bus, Some fixes
2022-03-29Refactor #987 (#997)MuXiu1997
2022-03-28Add Naquadria OreByProduct (#996)ScriptedPiky
Allows certain processes, like the Stargatium Leaf and Naquadria Combs with crushed Naquadria Ore to yield 144L of Molten Naquadria; if GoodGenerator is loaded, this instead will be "Naquadria Goo" and requires further processing
2022-03-28Check if given slot accepts given input instead of ignoring outright (#993)Glease
2022-03-28Also update existing sticks on load (#994)Glease
2022-03-28Add a sanity check to catch invalid assline recipes (#995)Glease
2022-03-26Fix secondary description not written to language file (#987)MuXiu1997
* Fix secondary description not written to language file * Extract ISecondaryDescribable interface * Recover isDisplaySecondaryDescription in MetaTileEntity
2022-03-26Change Kanthal mixer recipe to hv (#989)Martin Robertz
remove default ebf recipe (cherry picked from commit dfc5f6a1989d69262d1e37cdd3ed26860bebc78e)
2022-03-18fix set locked fluid not working via drag n drop (#979)Glease
2022-03-14pin comb type id instead of depending on array ordinal (#980)Glease
* pin comb type id instead of depending on array ordinal * fix up _NULL related problems * fix out of bound * make it private * add some more test
2022-03-14save config late (#982)Glease
2022-03-08sunnarium from glowstone in reactors (#971)Glease
* sunnarium from glowstone in reactors * change glowstone dust to 9 items (cherry picked from commit 24d7318ae8e73dc0082784e0a5872903b074dd2e) Co-authored-by: Martin Robertz <dream-master@gmx.net>
2022-03-07hotfix for facade covers loading (#974)repo-alt
* hotfix for facade covers loading * issue update even if side is not clear
2022-03-06fix id drift in bartworks (#972)Glease
2022-03-05Fix localized names at server in obfuscated environment (#969)repo-alt
* Fix localized names at server in obfuscated environment
2022-03-04Fix depleteInput addressing the wrong slot (#965)Glease
2022-03-02Fix tooltip (#961)Jakub
2022-03-02add locks to the node graph so paths can block power transfer #25 (#950)Martin Robertz
Co-authored-by: bot <Krampus.sack.never@gmail.com>
2022-03-02Add Circuit from controller inventory slot to stored inputs (#960)Jakub
* Add controller inventory slot to stored inputs * Prevent adding circuit twice
2022-03-02reserve machince meta id for GlodBlock (#959)Yang Xizhi
2022-02-26fix redstone output for buffers and filters (#947)repo-alt
closes https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9442
2022-02-25remove autogenerated jade electolyse recipesMartin Robertz
2022-02-25fix jasper fumularMartin Robertz
2022-02-23Base work adding 3 new tiers of coils. (#885)Alkalus
* Base work adding 4 new tiers of coils. * Remove OPV tier. Remove nonsensical coil tier tags. (Awak = UIV, really? No thanks) Add proper texture for Hypogen, Infinity and Eternal coils. * Revert avaratia dep via import by Alk. If someone can implement cosmic rendering here then great but that is well beyond me. Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-02-23Minor bugfix/cleanup (#941)pariator
* Fixes slime spawn handling variances After testing, I was able to see 2 separate problems. 1: event.getResult() was occasionally returning ALLOW for some of the world spawned slimes. Slime spawn denial is done regardless of the ALLOW/DENY flag. This does not impact slimes spawned via eggs or powered spawners or slimes spawning after a slime is killed which apparently return DEFAULT for getResult(). 2: Slimes don't seem to properly handle a getResult() value of DENY. The checkSpawn event is not cancellable. To fix this, the entity is also destroyed by setting isDead to true. This does occasionally cause slimes to appear on the minimap briefly before disappearing. Lastly, with a forge update this could be handled much better by using the EntitySlime.spawnReason enum. That is not present in the current forge version, so I would consider this a temporary workaround and this method could/should be reworked if/when forge is updated. * Make repellators stop slimes. While testing, this was used to name the slimes as they were being generated. It turns out to also make the slimes behave properly in addition to the other changes. * Minor Cleanup Moved the slime handling out of the rest of the method and takes an approach of setting it to DEFAULT of it is ALLOW and then also adding a custom name tag if it doesn't have one. If it does have a custom name tag and ALLOW, then the slime spawn will be allowed. * Moved the setCustomNameTag method This method is still required to properly stop ALL slime spawns but it should only alter the customNameTag when a slime is intended to be stopped from spawning. * Fixed likely exception Check for instance of EntitySlime before casting it. This method is only required to stop slimes from spawning so is only being called against slimes. Co-authored-by: Randy Braunm <randy@unseencolor.com>
2022-02-23UEV Superconductors and slight rejig of other superconductors (#943)Colen
2022-02-23fix Add Jasper Dust Electrolyzer Recipe [Suggestion] #9801Martin Robertz
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9801
2022-02-23fix Add Amber Electrolyzer Recipe #9802Martin Robertz
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9802
2022-02-23fix Add Jade Electrolyzer Recipe #9803Martin Robertz
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9803
2022-02-23fix Graphite Dust missing C chemical formula #9804Martin Robertz
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9804
2022-02-14Server side metaitems localization (#938)repo-alt
fixes https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/8778
2022-02-12Fix separatorl. (#932)Colen
2022-02-10Fixes slime spawn handling variances Issue 7298 (#905)pariator
* Fixes slime spawn handling variances After testing, I was able to see 2 separate problems. 1: event.getResult() was occasionally returning ALLOW for some of the world spawned slimes. Slime spawn denial is done regardless of the ALLOW/DENY flag. This does not impact slimes spawned via eggs or powered spawners or slimes spawning after a slime is killed which apparently return DEFAULT for getResult(). 2: Slimes don't seem to properly handle a getResult() value of DENY. The checkSpawn event is not cancellable. To fix this, the entity is also destroyed by setting isDead to true. This does occasionally cause slimes to appear on the minimap briefly before disappearing. Lastly, with a forge update this could be handled much better by using the EntitySlime.spawnReason enum. That is not present in the current forge version, so I would consider this a temporary workaround and this method could/should be reworked if/when forge is updated. * Make repellators stop slimes. While testing, this was used to name the slimes as they were being generated. It turns out to also make the slimes behave properly in addition to the other changes. * Minor Cleanup Moved the slime handling out of the rest of the method and takes an approach of setting it to DEFAULT of it is ALLOW and then also adding a custom name tag if it doesn't have one. If it does have a custom name tag and ALLOW, then the slime spawn will be allowed.