aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/util
AgeCommit message (Collapse)Author
2021-01-31BasicMachine fluid tank manipulations in GUIGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2021-01-18Merge pull request #410 from albus12138/fix_multiblock_tooltip_errorMartin Robertz
Fix multiblock machine tooltip error
2021-01-18Replace tab with 4 spacesr4phael
2021-01-17Fix multiblock machine tooltip errorr4phael
2021-01-16Better fix.Jason Mitchell
Should be isStringValid(), not isStackValid()
2021-01-16Fix crash with speedupJason Mitchell
Not entirely sure why, but this causes a crash when registering modular armor because it can't find the ic2 good circuit...
2021-01-17Changed removing part with O(n) instead of O(n^2)TimeConqueror
2021-01-17One more changes to immutableTimeConqueror
2021-01-17Added immutable version of getOres method, which is faster due to not using ↵TimeConqueror
#addAll
2021-01-08Merge pull request #394 from GTNewHorizons/infinty-chest-compatibiletyMartin Robertz
infinity chest compatibiltey
2021-01-05Speed up removals even moreJason Mitchell
2021-01-03infinity chest compatibilteybotn365
add more compatibilety for inventory that store more then a stack of items in 1 slot libe barrels and infinity chest
2021-01-021) Remove mAddGTRecipesToIC2Machines (stolen from @Glease)Jason Mitchell
2) Batch (most) recipe map removals and additions (significant speedup) 3) Modernize old java constructs --> java8 (in the files touched)
2020-12-31Implemented ReverseRecipesbartimaeusnek
2020-12-31Disassembler reworkbartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-12-19use getAccesble slots againkorneel vandamme
2020-12-13Cache steam fluid IDs on startup and use those instead of string ↵Jason Mitchell
comparisions everywhere. NOTE: Also drops MFR steam compat
2020-12-05This makes batteries drain/charge their tier loss extra charging their ↵David Lindström
contained machines buffer
2020-11-27fix-infinit-whilebotn365
fix porention infinit while loop wit barrels/drawers
2020-11-26isRecipeInputEqual optimization (#351)Uristqwerty
* Optimize GT_Recipe.isRecipeInputEqual Used HEAVILY to catch duplicate recipes during game startup. Worst-case, it would result in 5 GT_OreDictUnificator.get calls for each pair of inputs. Instead, this is closer to 1 + 1/N, and as an added bonus, the modified unification it now uses doesn't copy its output only for it to be discarded immediately after comparison. Apart from inproved startup times, this might make a small difference when machines switch recipes. I am making an assumption that GT_OreDictUnificator.get(true, GT_OreDictUnificator.get(false, stack)) is equivalent to a just GT_OreDictUnificator.get(false, stack), and the original code only double-unificated because it was easier to code. If this turns out to be false, there's still some performance gain from factoring out the tStack unification, but some of the optimization here would be lost. * Changed method visibility according to PR feedback
2020-11-21Merge pull request #335 from Prometheus0000/LCE2Martin Robertz
Added IV HOG only LCE
2020-11-21Merge pull request #347 from GTNewHorizons/move-Item-optimazationMartin Robertz
Move item optimazation
2020-11-20Merge branch 'experimental' into LCE2Prometheus0000
2020-11-20Fix merger problemPrometheus0000000
2020-11-19Change all the multi tooltips over. Also changed tooltip class a bitPrometheus0000000
2020-11-20add suport for drawers and barrelskorneel vandamme
2020-11-18Add new method of displaying MB tooltips. LCR as example for nowPrometheus0000000
2020-11-16add moveMultipleItemStacks to utilskorneel vandamme
2020-11-15Clean up Extreme Diesel EngineGlease
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2020-11-14Miners may actually detect ores by the oredictrepo_alt
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/5468
2020-11-03Minor text fixesPrometheus0000000
2020-09-09replace HashMap with a (bounded) Guava Cacherepo_alt
2020-09-08A simple cache for the furnace recipes, to avoid linear iterationrepo_alt
(Should help with https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/6416)
2020-08-23Attempt at improving chest buffers, also slowing down lower tier ones.moller21
2020-07-31Better optimization for moving items between inventories.Kalle
2020-07-29Simple optimization to GT_Utility.moveOneItemStackKalle
2020-06-09Fixed NEI time value for Replicatorsbartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-06-01Added gui's for the rest of em covers.moller21
2020-05-16bee changesDreamMasterXXL
Autoclave get a new input slot
2020-05-10Merge pull request #281 from moller21/coverguis2Martin Robertz
Cover GUI's take 2
2020-05-06Cover gui: Right click to open instead take.2moller21
2020-05-05Merge pull request #279 from GTNewHorizons/DropBartApiMartin Robertz
Drop barts api
2020-05-04Drop barts apiTechnus
2020-05-04Added cover guis for pump/filtermoller21
2020-05-03Clean up the fluid display thing.moller21
2020-04-24Merge pull request #269 from GTNewHorizons/ReplicatorNERFMartin Robertz
Nerfed replicator
2020-04-19Reduced logbartimaeusnek
+ removed "isNice" easter egg + reduced loglines to log every 5% instead of every 1% + replaced Iterator for loop with enhanced for Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-04-19Refactored CLS support into an own Compatbartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-04-19Nerfed replicatorbartimaeusnek
+ added a config option + made TankSize of Replicator a bit nicer Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>
2020-04-10replaced magic numbers with string identifiersbartimaeusnek
Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>