aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common
AgeCommit message (Collapse)Author
2024-05-23Multi Smelter & Ore Factory add batch mode & sub 1t oc (#2604)HoleFish
logic
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-22Drone Center structure adjustments. (#2603)Abdiel Kavash
* Drone Center structure adjustments. * Center -> Middle, to not clash with machine name. * Revert "Center -> Middle, to not clash with machine name." Looks dumb, and "Center" is used in other controller tooltips.
2024-05-21fix drone centre not consuming drone from me input bus (#2602)Glease
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-18Fix far end asteroids generation (#2598)Oleg Ivanov
* Fix far end asteroids size * Use chunk seed to generate far end asteroids
2024-05-12Update GT_MetaTileEntity_IndustrialApiary.java (#2596)CromaMclos
The Apimancer's Drainer uses GT_MetaTileEntity_IndustrialApiary.getUsedQueen to retrieve the queen currently being processed by the Industrial Apiary. getUsedQueen is annotated with @SideOnly(Side.CLIENT) which only allows this function to be called from singleplayer. This function is not available when called from server-side and leads to the crash detailed in this issue. As far as I can tell, this function has no reason to be singleplayer / client-side only. This seems to be an artifact from when this function was imported over 2 years ago. Testing this change in our world prevents the crash and allows the Apimancer's Drainer to work as expected with the Industrial Apiary. Resolves GTNewHorizons/GT-New-Horizons-Modpack#16222
2024-05-11Change warning texts (#2592)HoleFish
change
2024-05-10Imporved Drone Center (#2591)RealSilverMoon
* Add plascrete block as an exception * Spotless * Add sort button * rebalance range * small fix * Add a localized button * Rename and add comment * Spotless
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-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-28Volumetric flask UI fixes. (#2587)Abdiel Kavash
* Volumetric flask UI fix. * Remove unsafe cast.
2024-04-28Only trigger Machine Controller Cover Safe Mode when a shutdown was ↵Abdiel Kavash
critical. (#2586) * Only trigger Machine Controller Cover Safe Mode when a shutdown was critical. * spotless
2024-04-24Fix Drone Centre Memory Leak (#2582)RealSilverMoon
* Fix: downlink connect to various centres * Spawn drone item after destroying * Update lang * Save to nbt
2024-04-23remove duplicate wheat maceration (#2585)chochem
2024-04-16Improve charcoal pile igniter tooltip (#2570)Daniel Gealow
* Improve charcoal pile igniter tooltip Clarify and expand the structure guidelines * Reformat long line
2024-04-16Fix small boiler NPE (#2576)HoleFish
fix
2024-04-15clean up inconsistent state mutation (#2567)Glease
2024-04-15fix fake tank capacity for waila (#2571)Quetz4l
2024-04-13Allow single-block pump to ignore replaceable blocks, and water (#2568)D-Cysteine
* Allow single-block pump to ignore fire * Use `isReplaceable` and replace water * Update comments
2024-04-13Fix voltage for a few cover recipes (#2569)chochem
they are meant to be LV
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-11more robust uuid loading in wireless data (#2564)Glease
more robust uuid parsing
2024-04-09Add mention of required air to LGT structure tooltip (#2562)NotAPenguin
add mention of required air to LGT structure tooltip
2024-04-08improve robustness of me inputs (#2556)Glease
basically, always flush the cached info regardless of whether a GridAccessException has happened. also a bit more checking over whether the ME network is accessible
2024-04-03Xenoxene and Radox Cells (#2558)encrypt777
add fluid cells for xenoxene and radox line
2024-04-03Fix the amount per operation reported in multiblock pump UI. (#2559)Abdiel Kavash
* Fix the amount per operation reported in multiblock pump UI. * why write many code when few code do trick
2024-04-01Fix crowbar recursive call (#2555)Lyfts
2024-03-26Fix DC UI height (#2551)RealSilverMoon
2024-03-25Add Industrial Apiary upgrade utility methods (#2550)Noktuska
Add Ind. Apiary upgrade utility methods
2024-03-24Fix superchest UI sync (#2549)Abdiel Kavash
Fix superchest sync
2024-03-24Remove nanoforge hatch requirement & more frequent structure check (#2547)HoleFish
fix
2024-03-18Fusion reactor UI fix (#2543)Abdiel Kavash
* Fusion reactor UI fix * derp
2024-03-16Fix typo in kevlar tooltips (#2541)NotAPenguin
fix typo in kevlar tooltips
2024-03-15Don't hide brewery recipes & unhide more drinks (#2540)miozune
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-15Unhide 3 craftable drinks (#2539)miozune
2024-03-13Add holo glasses support for CRIBs (#2535)Lyfts
add holo glasses support for cribs
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 wrench not rotating blocks on server side (#2525)ghostflyby
2024-03-11Fix stocking hatches recipe check (#2531)miozune
2024-03-11Add messages about the reasons for machine shutdown during processing (#2522)HoleFish
* ShutDownReason setup * implement * fix machine not turn on
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-02Small fixes for Drone Center (#2520)HoleFish
fix
2024-03-01Self-adaption GUI height for DC (#2517)RealSilverMoon
* self-adaption GUI height * Fix crash on dedicated server
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-25fix LHE preview (#2505)Glease