aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
AgeCommit message (Collapse)Author
2023-09-30add tooltipis (#2318)Pxx500
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-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-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-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-07Make heater upgrade more precies aswell (#2275)Jakub
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
2023-09-05Deprecate PA by removing its controller recipe (#2273)BlueWeabo
2023-09-05removed debug text from wailaBody of ↵Kyium
GT_MetaTileEntity_Hatch_CraftingInput_ME (#2272)
2023-09-03Added bricked blast furnace recipe progress to waila. (#2265)Kyium
* Added bricked blast furnace recipe progress to waila. * fixed formatting issues.
2023-09-02fix item names (#2263)chochem
2023-08-30Add hazmat to ThaumicBoots (#2260)Alastors
* Add hazmat to ThaumicBoots does what it says * fixed
2023-08-30Fix pcb factory not applying its roughness multiplier when it doesn't OC (#2258)BlueWeabo
* fix PCB Factory not applying its roughness multiplier when it doesn't do any overclocks * spotless
2023-08-29Fix incorrect data stick behaviors for hatches (#2257)miozune
2023-08-28Crafting input hatches QoLs (#2200)Harry
* Fixes + Detect Inventory Slot Changes * support rename + check for updates * add back onChangeListener + fix npe * ICustomNameObject TileEntity * Fix NPEs * Use IInterfaceTerminalSupport * fix * register * dep * spotless * General Crafting Input Hatch QoL fixes (#2212) * feat: refactor naming && include circuit and catalyst in default name * feat: add 4 more slot to solve my ocd * fix: formatting * feat: migrate from 4x8 to 4x9 * spotlessApply (#2213) Co-authored-by: GitHub GTNH Actions <> * QoLs * 9 manual items * spotless * feat: open master GUI when used, without holding a data-stick (#2221) * fix destpos * optimize empty check * Fix error when fluidInventory.size() == 0 If the fluidInventory size is 0, there is no element to get. Add a check for it. * name in waila + fix int overflow * unnecssary super * update deps --------- Co-authored-by: Fox_white <39846845+foxwhite25@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Firenoo <49818773+firenoo@users.noreply.github.com> Co-authored-by: Martin Robertz <dream-master@gmx.net>
2023-08-27change way to fix zfighting (#2253)Glease
2023-08-23Fix tier display for Fusion NEI header (#2250)miozune
2023-08-23Update the conditionals buttons and tooltips on covers to reflect their ↵Guillaume Mercier
actual effects (#2244) * Update redstone buttons and tooltips to better reflect actual use * Spotless Apply * Update GT_Cover_FluidRegulator.java * Update GT_Cover_FluidRegulator.java * Typo fix, Icon Improved and interactive blocking ui - Fixed a typo in the world machine - Fixed double button situation for conveyor belts. - There was never any issue, the testing methodology gave me invalid results. - Conveyor behaviour is in line with all the other covers affected by this PR/Branch. - Updated icon for the machine state to be a miniature machine controller cover. - Made the block/allow input section more interactive in order to better reflect the actual effect of these buttons. - In import mode, it actually blocks the machine from outputting from that side. * typos I can't write to save myself sometimes * Better text alignment - Better text alignment * fix typos I swear I can't write to save myself. --------- Co-authored-by: Martin Robertz <dream-master@gmx.net>
2023-08-20Update text (#2246)Connor-Colenso
2023-08-18Correct PCB Factory Energy Hatch description (#2237)Eraldoe
* Correct PCB Factory Energy Hatch description Changes the PCB factory description (the one seen when holding shift) which currently says "Energy Hatches: 1+" I believe this is incorrect and that the correct description is 1-2 energy hatches or 1 TT energy hatch. I believe the PCB factory uses this, which checks for 1-2 or 1 TT: public boolean checkExoticAndNormalEnergyHatches() { if (mExoticEnergyHatches.isEmpty() && mEnergyHatches.isEmpty()) { return false; } if (!mExoticEnergyHatches.isEmpty()) { if (!mEnergyHatches.isEmpty()) { return false; } if (mExoticEnergyHatches.size() != 1) { return false; } } return mEnergyHatches.size() <= 2; } * gradlew spotlessApply
2023-08-17Crafting input - Optimize isEmpty check to reduce lag (#2239)Harry
* Optimize isEmpty check * rearrage
2023-08-17fix overlay zfighting by disable depth test (#2226)Glease
2023-08-17Fix ME Output Bus and Crafting Input Bus overflow when save/load (#2238)Harry
2023-08-17Experimental fix to prevent infinite loop in Grid destruction (#2235)Martin Robertz
Co-authored-by: Firenoo <49818773+firenoo@users.noreply.github.com>
2023-08-17Fix lag caused by getRecipeMap for PA (#2236)miozune
2023-08-17Fix a NPE w/ injecting into super/quantum chests (#2234)firenoo
When simulating an injection, if the stackSize > chest's capacity, it causes a NPE when the internal chest is empty. Also fixes a potential bug when void overflow is set; the chest should return null in such a scenario regardless of simulation/modulation.
2023-08-17Fix server crash with RecipeFilter (#2231)miozune
* Fix server crash with RecipeFilter * Make client send filtered machines to server * Use mUniqueIdentifier
2023-08-14Fix drilling rigs, plants and concrete backfiller to fail with multiple ↵Pxx500
energy hatches (#2227) * max-1-energy-hatch-in-drilling-rigs.-plants-and-concrete-backfiller * spotlessApply (#2228) Co-authored-by: GitHub GTNH Actions <> * revert --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-11Add detailed logging for ME hatches (#2224)miozune
2023-08-10Fix Digital Tank capacity for Fluid Storage Monitor (#2217)miozune
* Fix Digital Tank capacity for Fluid Storage Monitor * Annotations
2023-08-10Fix PAs overclocking ulv recipes too much (#2220)BlueWeabo
* fix PAs overclocking ulv recipes too much * make sure we save the returned value
2023-08-07Crafting input buffer: Check for invalid patterns (#2209)Harry
* Check invalid patterns * fix logger
2023-08-02fix nanoforge not overclocking correctly (#2205)BlueWeabo
2023-08-01Crafting input hatches: fixes (#2202)Harry
* Fix NPEs * spotlessApply (#2203) Co-authored-by: GitHub GTNH Actions <> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>