aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
AgeCommit message (Collapse)Author
2023-10-16Add stocking input hatch (#2322)tth05
* Add stocking input hatch * Refactor stocking input hatch UI code and fix some formatting * Add new visual changes from stocking bus and some refactoring * Remove drain/fill methods and fix tooltip * Split information slots into separate array and update MUI * Use inventory of size in constructor * Add assembly line support * Add amount to info slot tooltips and update tooltips every tick
2023-10-15Fix memory leak of player instances in CoverBehavior (#2333)tth05
* Use weak references to store last player in cover behavior * Remove duplicate lastPlayer field from GT_CoverBehavior
2023-10-15fix scotch (#2332)chochem
2023-10-14allow rotation on maintenance hatch (#2331)Glease
2023-10-13Fix Stocking Bus bug (#2326)miozune
* Shut down machine with message if stocking bus fail to extract items * Better way to handle message persistent on shutdown * Minor cleanup * Allow more localizations * Add network status display * Fix auto-pull mode accepting shift insert * Remove workaround for issue with multiple ME buses in a multiblock * Some tweak for appearance * Correct inconsistent variable naming in GT_UITextures * Update .gitignore * Fix typo * Remove isScheduledForResetCheckRecipeResult by using persistsOnShutdown * Apply "cannot set slot" tooltip for empty slots too
2023-10-12Fix clay bucket exploit and bring fluid canner in line with tank for them ↵chochem
(#2320) * fix clay bucket exploit * convert to RA2 * fixes * add missing modloaded check
2023-10-12average per tick counter for cable voltage and amperage (#2321)iamblackornot
* - a workaround fix to https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/14431 - code clean-up of unused variables related to the issue - portable scanner infodata is cleaned too since some of the data is related to mentioned before "ghost" variables * - PR review changes * "Current Amperage" -> "Amperage" * - updated gradle build script * - sync fork * added AveragePerTickCounter class, which helps getting [current tick] value and [average] value for Amperage and Voltage of energy cable blocks updated cable scanner info to show these values * - lowercase the first letter of new methods to follow the guidelines - added one comment to explain code segment's logic --------- Co-authored-by: iamblackornot <nkzshinnnik@gmail.com>
2023-10-11GT_BaseCrop Modularisation (#2330)Guillaume Mercier
- Add layout.json from idea to gitignore - Modularizes the code for the isBlockBelow check - No functionality changes should appear to the end user
2023-10-11new way to add item data for recycling (#2306)chochem
2023-10-09Allows covers to be configured to tick more slowly (#2307)querns
* Right clicking covers with a jackhammer will now make them tick more slowly * Interim commit, switching tasks * Finishes tick rate button in cover UIs * Change tick rate multiplier to a tick rate addition * Missed one number in the multiplier -> addition conversion * Hold Ctrl to adjust tick rate by 5 steps per click, move button closer to corner of cover GUI * Adjust how holding Ctrl computes tick rate change, remove gray formatting option for tick rate formatter * Cover tick rate addition can now be prevented per-cover-behavior, minor code tweaks
2023-10-09Fix insufficient power result not being persisted (#2328)miozune
2023-10-08Fix server crash with Teleporter (#2327)miozune
2023-10-07- fixes ↵iamblackornot
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/14559 (#2325) - had to change 2 unit test to address the mentioned above OC calculation fix Co-authored-by: iamblackornot <nkzshinnnik@gmail.com>
2023-10-04Code cleanup (#2309)boubou19
* guard clause technique on GT_ItemIterator * removing oredict for ars magica 2 items * removing oredict for mystcraft items * convert big if ladder into a swtich statement * enhanced switch * clean non GTNH compat and identify other compats * spotlessApply (#2310) Co-authored-by: GitHub GTNH Actions <> * more guard clauses * reordering condition * removing dead code * removing optional block * deprecating mIC2Classic * spotless apply * deprecate modloaded variables * spotlessApply --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Martin Robertz <dream-master@gmx.net>
2023-10-05fix assline util not loading 16th item input from the stick (#2323)Glease
2023-10-03Adds proper client/server sync for metrics cover, improves oil drill metrics ↵querns
output (#2319)
2023-09-30add tooltipis (#2318)Pxx500
2023-09-28Fix non-cell recipes not being generated for Vacuum Freezer (#2317)miozune
2023-09-27add Very heavy oil recipe to distillation tower (#2308)Pxx500
2023-09-27Add missing residue in quantum anomaly dtpf recipe (#2315)GDCloud
* add missing residue * no chad residue
2023-09-27allow rotation (#2313)GDCloud
2023-09-27fix discount (#2311)GDCloud
2023-09-27Fix existing ME hatches are set infinite cache to false (#2312)miozune
2023-09-23Update buildscript (#2305)boubou19
* update buildscript * yeet wildcard imports
2023-09-23ME hatch`s additional connection mode and small fixes (#2291)lordIcocain
* ME hatch`s improvements (?) * ForgeDirection.UNKNOWN not allowed Better description No check before getBoolean * Add description in tooltip Chat message using localization Stocking bus data stick will copy/paste connection mode * Chinese localization * Another method localization * code style
2023-09-23Deprecate GT_MetaTileEntity_MultiBlockBase#isValidMetaTileEntity (#2267)miozune
* Deprecate GT_MetaTileEntity_MultiBlockBase#isValidMetaTileEntity * Explicit brackets --------- Co-authored-by: Martin Robertz <dream-master@gmx.net>
2023-09-22fixes uninsulated cable not damaging players (#2300)iamblackornot
* - a workaround fix to https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/14431 - code clean-up of unused variables related to the issue - portable scanner infodata is cleaned too since some of the data is related to mentioned before "ghost" variables * - PR review changes * "Current Amperage" -> "Amperage" * - updated gradle build script --------- Co-authored-by: iamblackornot <nkzshinnnik@gmail.com>
2023-09-22Cleanup noXXXYYY methods round 2 (#2302)miozune
2023-09-22disable large turbine rotation or flip (#2290)Glease
also made the rotation and flip marker to not show up when the multi doesn't support rotating or flipping
2023-09-22obliterate RA1 (#2206)boubou19
* obliterate RA1 (1/2) * fix wrong recipe map * guard clauses * null check * spotless apply * redo null check properly * update BS --------- Co-authored-by: chochem <40274384+chochem@users.noreply.github.com>
2023-09-22Cleanup GT_MetaTileEntity_BasicMachine (#2268)miozune
* Remove unused machines * Add some Javadoc * Remove some unused constructors * Use ResourceLocation and SpecialEffects for newMetaEntity * Remove some non-ModularUI code * Remove mGUIParameterA and mGUIParameterB * Remove mGUIName and mNEIName * Use nonnull string * updateBuildScript
2023-09-20Remove recipe modifying code for matching stacks (#2296)Serenibyss
2023-09-16Fix Cell-less recipe converter not always setting new arrays (#2294)miozune
2023-09-16fix missing null check (#2295)chochem
2023-09-15Add HoloInventory compat (#2292)miozune
2023-09-13Adds Metrics Transmitter Cover and Advanced GT Sensor Card for Information ↵querns
Panels (#2289) * Adds several UI elements to multiblock drills * Adds metrics transmitter cover and associated sensor card * Fixes item icons and item name * Adds tooltips for adv. sensor card and metrics panel, fixes card/overlay icons, adds recipe for metrics cover * Refactor cover tab sync to send much smaller ISerializable payloads * Remove unused variable * Additional master merge cleanup * Adds interface for custom metrics export, adds oil drill support * Adds support for metrics covers retaining attached machine name for tooltip, metrics * * Adds discrete coordinates to Metrics Cover data * Adds machine to advanced sensor card tooltip * Adds cycle time and minimum energy hatch tier to multiblock ore drill tooltips * Moves many tooltip strings to i10n * Remove old GT_DisabledWhileActiveButton.java file that crept in during a messy merge * Spotless * Improve oil and ore drill metrics, more i18n * Addresses PR review concerns, adds more situations for self-destructing sensor cards * Remediates further PR concerns
2023-09-13Make Crafting Input Bus / Hatch compatible with some non-GPL multis (#2266)Jaiden Baker
* Add crafting input bus items to getStoredInputs * Add crafting input hatch fluids to getStoredFluids * Respect internal input isolation * List.of -> Arrays.asList * Skip fluids on non-supporting bus * Fix NPE * Change return type to Optional & add Slave support
2023-09-10Deprecate GregTech_API#mAE2 (#2288)miozune
2023-09-10Add FixedPositionedStack#isFluid (#2287)miozune
2023-09-09Less aggressive System.nanoTime() (#2269)miozune
* Less aggressive System.nanoTime() * Address reviews
2023-09-09Deprecate GT_RecipeBuilder#noXXXYYY methods (#2284)miozune
* Deprecate GT_RecipeBuilder#noXXXYYY methods * Remove existing references
2023-09-09Use Avaritia for Universium renderer (#2286)miozune
2023-09-09Request drill changes, eliminates recipe info in drill GUI (#2285)querns
2023-09-08Adds status messages, action buttons to UI of multiblock drills (#2270)querns
* Adds several UI elements to multiblock drills * Spotless * Adds formatNumbers calls in places where it'd been missed * Eliminate wildcard import * Add @NotNull annotations to new fields and methods
2023-09-08Add BarnardaC bee effect, enhance tooltip and waila for iapiary (#2255)hacatu
* Added BarnardaC bee effect, added harder alternative mutation for indium bee * Improved tooltip and waila hud for iapiary * Shorten effect name for beealyzer * Moved Effects to own files, cached constants * Refactor constant names
2023-09-08Display current recipe in GUI (#2252)Harry
* Display current recipe * 2 decimals * fixes * formatNumbers * Fix formatting * update modularui --------- Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2023-09-07Make heater upgrade more precies aswell (#2275)Jakub
2023-09-07Makes Fool's Ruby use its proper scientific name (#2280)Alastors
fixes: https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/14443 Fools Ruby, as it is, merely serves to screw with players, literally providing no other value, sure it is a "historic quirk" of the pack, but then again, so are dense plates from ++ amongst other things, so I don't exactly see why we should keep a "historic quirk" for the sake of it.
2023-09-06Adds item and charging info to Locker WAILA panel (#2245)querns
* Adds item and charging info to Locker WAILA panel * Refactor Locker WAILA tip entries to happen more on client side
2023-09-06Remove deprecated Seismic Prospector (#2279)miozune