aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
AgeCommit message (Collapse)Author
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
2022-07-18Allow showing multiple recipe owners (#1136)miozune
2022-07-18feat(tile): onRandomDisplayTick (#1138)Léa Gris
Adds onRandomDisplayTick method to the IGregTechTileEntity interface that can proxy randomDisplayTick from block. This allows to delegate block particles to the tile, with a client-side-only processing. Includes reference implementation for the Bronze Boiler
2022-07-17Unlock structurelib autoplace to accept up to eternal coils. (#1134)Connor-Colenso
Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-07-16QoL for Forestry Tree breeding; have the GT scanner analyze (similar to ↵Jason Mitchell
crops) and display info on leaves genome (#1137)
2022-07-15Add recipe owner display (#1135)miozune
2022-07-14DTPF Fixes (#1132)Connor-Colenso
* Add overclocking. Require 1 of any energy hatch to form. Change TT support to allow recipes to start as long as total voltage is sufficient. * More OpV purging + cleanup * Save EU_per_tick to NBT. Reset EU_per_tick when machine stops to 0. Change a few comments * Fix typo * Fix typo * Fix DTPF not getting correct fuel discount. Clean up code a bit. Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-07-13more tiers of quad input hatches (#1123)Yang Xizhi
2022-07-13DTPF Changes (#1129)Connor-Colenso
* Add overclocking. Require 1 of any energy hatch to form. Change TT support to allow recipes to start as long as total voltage is sufficient. * More OpV purging + cleanup * Save EU_per_tick to NBT. Reset EU_per_tick when machine stops to 0. Change a few comments Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2022-07-12Report crash while updateEntity to FML log as well (#1126)miozune
2022-07-10replace oxide chemical with raosted ore dust (#1120)Yang Xizhi
* replace oxide chemical with raosted ore dust * typo
2022-07-09Standardization of GT5u Chemical Recipes (#1062)Yang Xizhi
* chemical rebalance 1 item unit = how many atom in it 1 fluid unit = 1b * remove some tiny dust * remove crop tiny dust * Na2S * Acetone chain rework and fix COx * electis balance * Fix cell amount * more fix * acid, rubber and epoxy * no * roast thing * pbi * number wise unnerf roast recipe * uranium, indium, titanium lossless cycle * salts * clay * silicon * derp * corret sodium carbonate chemical formula * revert lossless indium * fix * scheelite * silicon line * ore dust * kevlar line * fix * don't change register name * fix * nerf NaOH electrolysis recipe to match water * fix Co-authored-by: Pnc6lx <2458894429@qq.com> Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: miozune <miozune@gmail.com>
2022-07-08Add Advanced Gas Turbine and Limit Original LGT (#1106)Steelux
* Add Advanced Gas Turbine and Limit Original LGT - Added an Advanced LGT, made out of HSS-S, that only accepts gas fuels with a fuel value above 800k per bucket; - Capped the EU/t output of the regular LGT at 8192 EU/t, regardless of dynamo (it will never explode); * Changed Texture Ordering, Byte to Int and Texture Order - Reverted the change to existing texture placements in the array to not break already existing multis; - Changed the output value type of getTextureCasingIndex to int, to support the intended texture. Co-authored-by: Martin Robertz <dream-master@gmx.net>
2022-07-08Missed a few (#1116)Ethryan
2022-07-08Update Materials.java (#1115)Ethryan