aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
AgeCommit message (Collapse)Author
2024-05-24Merge addon sourcesRaven Szewczyk
2024-05-22Implementation: Raw Ore Items as Ore Drops (#2502)Ethryan
* testing * Fix textures * Adding Drops, still need to add furnace recipe * Need to fix the multiple smelting recipes. otherwise stuff works. * part 2 * Remove wip block code I added * Moved it to a new processing file * Fix Oredict and add a stone dust chance output. And added a config option for fortune bonus. * Finally got Spotless to work * fix config system set it in gregtech config with oredropbehaviour in gregtech.cfg * Added new option and an option that returns it to the old behaviour. * Moved the raw ores to meta3 since meta1 was full. (MetaID range fix) * Fixing the MBM to only process small ores with fortune. * New config option * try to fix the recipes not working on Zeta * Implement Caedis Fortune fix * Added comment * Spotless * Fix stone dust amount from macerator * Adding Raw ore to the OreFactory (Untested) * spotless * Update this to actually drop the amount number of stack, instead of the stack set to the amount * New Random function for fortune and shapeless crushing recipes for the raw ores. * Fix * Actually make the block per dimension. * Fix an () issue. And make this actually work ingame. and not just randomly. * Change back drops Ned to look into Silk Touch more * Enable Silk Touch * Wth Spotless?, THIS made you complain?
2024-05-20Reducing allocation (#2601)Martin Robertz
* Add IAllSidedTexturedTileEntity to reduce memory overhead for ore textures (cherry picked from commit 274918800a3bf728e1db88e2d22b14cb6eb1a2e5) * Cache texture for ore, since it doesn't change during the game obviously (cherry picked from commit 45a2fe43f2cdb33fa7c0b05a4b8e4531fd2706a6) * Reduce allocations for inventory ores rendering (cherry picked from commit 5ed6526436e9b3a0586f37eac460f707636a102d) --------- Co-authored-by: SKProCH <skproch@yandex.ru>
2024-05-17Make worldgen predicate more flexible (#2600)HoleFish
add method
2024-05-04Make DTPF lose fuel efficiency over time instead of instantly (#2574)NotAPenguin
* track idle time in MultiBlockBase * save idle time in MTE NBT * decay DTPF fuel efficiency overtime properly * spotless * track idle time in DTPF instead of base MTE * small refactor to simplify logic * Delete unused resetDiscount method * Remove unused override
2024-05-03Slight change to ampoc logic (#2590)chochem
* better safeguard for negative oc count. * add new unit test
2024-05-02Add constants for tier indexes (#2578)Guillaume Mercier
* Add constants for tier indexes. Just following up on: https://github.com/GTNewHorizons/KubaTech/pull/122#discussion_r1568228992 * spotless apply
2024-04-30GT recipe.cfg cleanup (#2579)chochem
* ichorium block fixes * alu ingot fix * iridium ore fix * gt vanilla assembling fixes * ic2 assembler recipe fix * forestry assembler recipe fixes * spotless * electrolyzer * more iridium ore fixes * another ichorium block fix * obsidian stick fix * remove unused railcraft obsidian recipes * remove disabled melon recipe * bring custom plasma fuel values to code * spotless * remove most recipe config uses * fully remove recipe.cfg * dont change recipemapbackend for now
2024-04-22Add accessor for Waila steam multi fix (#2584)chochem
* add accessor for Waila steam multi fix * Update src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_MultiBlockBase.java Co-authored-by: Raven Szewczyk <git@eigenraven.me> --------- Co-authored-by: Raven Szewczyk <git@eigenraven.me>
2024-04-20Generate plasmas and plasma cells for a couple materials (#2583)GDCloud
* add some plasmas & plasma cells * wrong material
2024-04-18Swap around order of if-tests in machine explosion check to slightly speed ↵NotAPenguin
up MTE updates (#2580) Re-order some logic in machine rain explosion check
2024-04-15Fix broken input separation (#2572)HoleFish
fix
2024-04-13Fix AL crash with ME hatches (#2566)HoleFish
* fix * refactor
2024-04-12Oil cracker supports stocking input hatches (#2563)HoleFish
fix
2024-04-11Destroy non-GT tools when they are completely broken (#2565)HoleFish
fix
2024-04-03Fix duplicate translation ids (#2560)chochem
fix duplicate translation ids
2024-04-01Move solderingMaterial warning message (#2557)Reagan Roop
2024-03-30Fix GT lang not accepting en_US string updates (#2552)miozune
2024-03-29Disable unused hot black steel (#2554)chochem
disable unused hot black steel
2024-03-29Fix phased gold to vibrant alloy replacement (#2553)chochem
replace fluid outputs on fluid extractor, not inputs
2024-03-22reduce lags from simple washers (#2545)Quetz4l
reduce lags from washers do not update machines if nothing has changed
2024-03-22Fix Machine Metal color (#2546)Kogepan229
2024-03-15Ensure crib works for multismelter (#2538)chochem
crib for smelter
2024-03-15Show the reason why the machine shutdown on DC (#2536)RealSilverMoon
* Allow highlight far machine * Allow highlight far machine * Show the reason why the machine shutdown * Update button dynamically
2024-03-14Fix crib separation (#2537)chochem
fix crib separation
2024-03-13Numeric widget and localized number formatting. (#2532)Abdiel Kavash
* Cover widgets * Volumetric flask * Misc textfields * Update GT_MetaTileEntity_MultiBlockBase.java * Update GT_MetaTileEntity_MultiBlockBase.java * Fixes decimal digits --------- Co-authored-by: Martin Robertz <dream-master@gmx.net>
2024-03-11Fix Fusion overclock (#2528)HoleFish
fix
2024-03-11Fix OC calculator gets too much EUt consumption when limitOverclocks=true ↵HoleFish
(#2529) fix
2024-03-11Add messages about the reasons for machine shutdown during processing (#2522)HoleFish
* ShutDownReason setup * implement * fix machine not turn on
2024-03-10Add requireMods for recipe builder (#2417)miozune
2024-03-07Change to ConcurrentHashMap (#2526)Caedis
2024-03-04Maybe thread safe (#2523)Jason Mitchell
* Maybe thread safe * While we're at it, let's reduce allocations by a few orders of magnitude. ~1gb -> 1mb in testing for similar time periods. * use return value of add() again * That's apparently not available on the server side * Spotless apply for branch maybe-thread-safe for #2523 (#2524) spotlessApply --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-02Fix translations added before config init not being loaded (#2519)miozune
2024-03-01Add cable info to WAILA (#2518)Caedis
Add cable info to waila
2024-03-01Add SC steam to turbine tooltip (#2515)chochem
* add SC steam to tooltip * typo
2024-03-01Fix recipe check (#2516)HoleFish
* Fix recipe check * review
2024-02-27Change error voltage to MAX+ (#2513)miozune
2024-02-27Add locale code support for lang manager (#2511)miozune
* Add locale code support for lang manager * Deprecate a method with aWriteIntoLangFile
2024-02-27Hide semi fluid NEI (#2514)miozune
2024-02-26Make some changes to OC Calculator to add functionality to be used by God ↵BlueWeabo
Forge (#2508) * make the overclock calculator capable of weirder overclocks for god forge * add tests for such cases * fix documentation of some methods and variables * deprecate methods and fix most of the indenting * use javadoc deprecation too
2024-02-26Add recipe categories for TiC integration (#2510)miozune
2024-02-25fix maintenance hatch not showing correct rotation after reload (#2506)Glease
2024-02-17Fix water bottle fluid exploit (#2494)chochem
* fix water bottle fluid amount * require 1000L minimum
2024-02-16Change over wireless teams to use SP teams (#2493)BlueWeabo
* Change over wireless teams to use SP teams * spotless * null checks * fix unit test being wrong * update * add tab autocomplete * spotless * make sure teams are transfered over correctly * spotless * do not delete space teams data when two world saves put something into it * spotless * go away from a stream * make wireless networks load later --------- Co-authored-by: Martin Robertz <dream-master@gmx.net>
2024-02-15Allow interacting with machines instantly upon placing (#2496)Raven Szewczyk
2024-02-12Wireless Activity Detector; Power On/Off Activity Detector (#2490)slprime
* Wireless Activity Detector; Power On/Off Activity Detector * Wireless Gui Redesign --------- Co-authored-by: slprime <history-21@yandex.ru>
2024-02-11Add godforge materials (#2491)GDCloud
* add magmatter * add quark gluon plasma * remove nanites * forgot chem formula
2024-02-10Fix MuTE Casings Not Forming Correctly (#2489)Daniel Mendes
Fixed packet sending - Changed blockMetadata to mteID on methods in MultiTileEntity.hava that are not being used yet (Blue said this is how they're supposed to be); - Send graphic packets for tickable and non-tickable MuTEs; - Encode and decode relevant IDs to ensure MuTE casings form correctly on world load and auto-building.
2024-02-06Fix dimethylbenzene names (#2488)GDCloud
add missing 'e'
2024-02-03Refactor Packet Handling for MuTEs (#2485)BlueWeabo
* create base framework of packets for MuTEs * spotless