aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
AgeCommit message (Collapse)Author
2022-08-15Overriding GUI colors with .mcmeta (#1261)Albi
* Implemented gui textcolor override with .mcmeta files * cleanup * Added shared class to reduce code duplication * Moved #drawLine back to GT_NEI_DefaultHandler
2022-08-15Add localization to MC language list (#1260)miozune
* Add localization to MC language list * Revert workaround patches
2022-08-14Fluid Limiter Cover (#1248)TrainerSnow
* Add FluidLimiter Cover * Update ItemList.java and register * Add texture * Refactor method
2022-08-14Fix wrong ternary operator causing electrolyzer recipes disappear (#1255)miozune
2022-08-14do not cache result of GuiColors if the object is not short-lived (#1254)Glease
2022-08-14Switch to GTNHLib for ItemStackMap instead of Hodgepodge (#1251)Jason Mitchell
2022-08-13switch to gson (#1247)Glease
* switch to gson * json loader code cleanup
2022-08-12Added means of customizing GUI colors for resource packs (#1203)Albi
* Added means of customizing GUI colors through lang file * Color values are now stored in json file instead of the lang file * Made json only load upon resource reload and ensured server compatibility Co-authored-by: Martin Robertz <dream-master@gmx.net>
2022-08-12More wireless fixes/updates (#1206)Connor-Colenso
* Fix possible out-of-bounds error. * Bye bye OpV * Bye bye OpV * Some textures while I'm here * Test * Maybe * New command * Fix forge minecraft shenanigans interfering with saving data. * Localisation of achievements * Add save intervals for energy map. * Refactor as to not use dumb bloat * New interface for wireless hatches * Remove prefix * Big refactor and code cleanup. Also fixes bug with energy not getting added sometimes * Fix typo causing ore dict issues * New interface * Clean up commands a little * Add some colouring and clean up a little. * Update desc * Add more catches for command misuse and colours * Jenkins Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-08-12Add correct formula for Superconductor Base materials (#1240)miozune
2022-08-10Reserve MTE IDs for kuba6000 (#1238)Jakub
2022-08-10do not return IAlignment if MTE is not IAlignmentProvider (#1234)Glease
2022-08-10loosen the generic restrictions on hatch elements (#1236)Glease
It honestly never occurred to me that SOMEONE would not derive from GT_MetaTileEntity_EnhancedMultiblockBase
2022-08-09autoplace integration (#1117)Glease
2022-08-09fix(warnings): remove broad wanings suppression (#1223)Léa Gris
* fix(warnings): remove broad wanings suppression This shell script was applied to remove all instances of `@SuppressWarnings("ALL")`: ```sh grep -lr '@SuppressWarnings([[:space:]]*"ALL"[[:space:]]*)' src/ | xargs -l1 \ sed -n -i.bak '/@SuppressWarnings([[:space:]]*"ALL"[[:space:]]*)/!p' ``` * nuke @SuppressWarnings("all") in GT_NEI_DefaultHandler Case insensitive: ```sh grep -lr '@SuppressWarnings([[:space:]]*"[Aa][Ll][Ll]"[[:space:]]*)' src/ | xargs -l1 \ sed -n -i.bak '/@SuppressWarnings([[:space:]]*"[Aa][Ll][Ll]"[[:space:]]*)/!p' find src -type f -name '*.bak' -delete ``` * fix(warnings): GT_NEI_DefaultHandler * fix(warnings): GT_Mod * fix(warnings): GT_Values * fix(warnings): Materials * fix(warnings): GT_BeeDefinition * fix(warnings): GT_PostLoad * fix(warnings): GT_Worldgenloader * fix(warnings): GT_PreLoad
2022-08-07Botania adjustments (#1224)miozune
2022-08-07fix(warnings): re-enable and deal with specific warnings (#1221)Léa Gris
* fix(multitile): upgrade to SoundResource enum * fix(warnings): re-enable and deal with specific warnings - Nukes @SuppressWarning("ALL") abomination; that hid a real bug of infinite recursion, that would have caused a crash in some cover registrations. - Reviewed and addressed each individual warning, down to typo or grammar. - Either fixed or disabled warning on minimal scope, with commented reason. * add(javadoc): document deprecated
2022-08-06Add wiremill recipe for SC UEV Base (#1214)miozune
* Add wiremill recipe for SC UEV Base * Adding UIV and UMV SC (#1213) * fixing sphalerite electrolyze recipe * beginning of UIV/UMV SC * real sc mat * real umv sc craft * fixes sc umv heat temp * Fix ID conflict * Move wiremill recipe Co-authored-by: RIONDY 'POPlol333' Adam <76914762+POPlol333@users.noreply.github.com>
2022-08-06Adding UIV and UMV SC (#1213)RIONDY 'POPlol333' Adam
* fixing sphalerite electrolyze recipe * beginning of UIV/UMV SC * real sc mat * real umv sc craft * fixes sc umv heat temp
2022-08-05Botania fixes (#1208)miozune
2022-08-05Wireless Fixes (#1195)Connor-Colenso
* Fix possible out-of-bounds error. * Bye bye OpV * Bye bye OpV * Some textures while I'm here * Test * Maybe * New command * Fix forge minecraft shenanigans interfering with saving data. * Localisation of achievements * Add save intervals for energy map. Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-08-03Fix possible IOOBE in TieredMachineBlock (#1191)miozune
2022-08-03More OpV purge (#1188)Connor-Colenso
* Fix possible out-of-bounds error. * Bye bye OpV * Bye bye OpV * Some textures while I'm here * Test * Maybe Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-08-02More OpV purging (#1186)Connor-Colenso
Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-08-02copper and molten texture change (#1184)Yang Xizhi
2022-08-02Increase `aUsualInputCount` and `aUsualOutputCount` for EBF (#1185)miozune
2022-08-02Fusion fixes (#1181)miozune
* Allow storing `long` energy * Fix hardcoded voltage limit for searching recipe * Fix reactor might run without consuming energy * Fix weird charging rate limit
2022-08-02Crash fix (#1182)Runakai1
* Crash fix * Added nullcheck So that all gt tools work now
2022-07-31no furnace recipe (#1180)chochem
2022-07-31Disable input filter on input buses by default (#1167)xSkewer
2022-07-31Fix clicking FluidDisplay not working with digital tank overflow mode (#1149)miozune
2022-07-31Better Endgame Wireless EU (#1144)Connor-Colenso
* Basis of changes * Adjust voltage tiers to remove OpV * Better textures, move IDs around etc. * Format cleanup * Log level change * Dynamos * More stuff * More OpV purging. * Fixes * Remove wire support. * Textures * IDs * Update hatch/dynamo * New number formatter * Add default method * Add save method on world close * Cleanup old comments/debug * Author * Author * Author * Author * Restructuring of code * Unit tests * More unit tests + cleanup * Fix ID shift + add spares Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-07-31fix small ore and cass ore (#1150)Yang Xizhi
2022-07-30Botania Materials with custom textures (#1168)Connor-Colenso
* Move materials to new class and remove some old comments. * Move materials to new class and remove some old comments. * New mat textures * RGB Fixes * Change material stats Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-07-30Add energised tesseract (#1175)Connor-Colenso
* New recipe methods. * Pulverise tesseracts * New pulveriser method * Cleanup code * Smelting/cooling methods * Super coolant * Add hot ingot * Expand DTPF UI * Add energised tesseract * Disable incorrect freezer recipe. * Remove compressor recipe + adjust values of transcendent metal a bit. * Fix missing textures Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-07-30Transcendent metal (almost) (#1171)Connor-Colenso
* New recipe methods. * Pulverise tesseracts * New pulveriser method * Cleanup code * Smelting/cooling methods * Super coolant * Add hot ingot Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-07-29Giga chad token (#1169)Connor-Colenso
Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-07-29A few GT Apiary Upgrade changes (#1164)Jakub
* Upgrade changes * 6 * Handle some crazy bee outputs
2022-07-27Rework Turbine Materials and Useless Space Ores (#1146)Steelux
- Changed the flow calculation system to account for multipliers, which can be customized for every material without changing existing material stats; - Greatly improved materials matching some space ores that aren't used for anything (these ores will get tiered EBF recipes like Oriharukon did); - Changed some other materials that currently aren't used for turbines.
2022-07-27Move Industrial Apiary to gregtech (#1107)Jakub
* Industrial Apiary * Make Forestry not required. * Add support for gendustry upgrades and lower energy demand * Add item validation to input slots and fix battery + special slots * Automation upgrade support and bug fixes * Better canWork check and flower detection * GUI work * Better detection of modifier update * Add button to cancel process * Add textures * Tooltip changes * Add convert crafting * Make top and sides glow * Bug fix * New textures * Add bee effects * Make all tooltips translatable * Implement GT Apiary Upgrades * Prevent inserting too many upgrades * Just require gendustry instead of checking it everywhere * Add blacklist (bug fix) and use hashsets instead of arrays * Cache beemember to do effects * Make blacklist automatic * Add acceleration upgrades for all tiers (LV -> UV) * Lock the machine to maxspeed by default * Correct required energy in info tooltip * Use isUpgrade method instead of manually checking * Lower amperage to 4 * Save locked speed to nbt
2022-07-26New material + item + texture changes. (#1161)Connor-Colenso
Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-07-23hotfix(SoundResource): off-by-one legacy id mapLéa Gris
2022-07-23add(api/enums): particle and sound effect enumerations (#1154)Léa Gris
* add(api/enums): particle and sound effect enumerations - Adds new GregTech API enumerations: - `ParticleFX`: Enumerates known EntityFX particles. - `SoundResource`: Enumerates known sounds with, id and ResourceLocation. - Refactors code to use the new enumerations instead of string literals. - Uses `ParticleFX` and `onRandomDisplayTick` to improve or implement new particle effects for these machines: - BBF: Adds random flames in front of the firebox. - Steam machines: Changes pressure-exhaust particles to white vapour, rather than dark smoke. - Magic Energy Absorber: Adds random effect, of absorbed magical purple particles, by the EnderDragon Egg siphon. - Forge Hammer: Adds sparse random sparks, ejected from the main face.
2022-07-23don't allow pollution machine in cleanroom (#1147)Yang Xizhi
2022-07-23Allow robot using toolbox to fix maintenance issues not specify the hatch ↵repo-alt
facing side (#1152)
2022-07-22MultiTileEntity MultiBlocksJason Mitchell
2022-07-22MultiTileEntityJason Mitchell
2022-07-21Show voltage tier of transformer for Waila (#1148)miozune
2022-07-19Standardize Anti-Knock Agent recipes (#1143)miozune
* Standardize Anti-Knock Agent recipes * Fix cell amount
2022-07-18generate silicon EBF recipe (#1140)chochem