aboutsummaryrefslogtreecommitdiff
path: root/src/main
AgeCommit message (Collapse)Author
2023-07-30fix new tooltip layout being missing for the brewery (#2196)boubou19
* add machine type for brewery * spotlessApply (#2197) Co-authored-by: GitHub GTNH Actions <> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-30Make recipe check less intensive with batch mode (#2198)BlueWeabo
* make recipe check less intensive with batch mode * clean up the else
2023-07-30enable subclass to allow less voiding mode being set (#2191)Glease
* enable subclass to allow less voiding mode being set * fix bug * rename
2023-07-30Fix wireless energy voiding (#2192)Harry
* Fix wireless energy voiding * avoid bigint
2023-07-30fix GT_ParallelHelper adding 0.01% to chanced outputs (#2194)BlueWeabo
2023-07-30Fix Overclock Calculator Making Too many parallels and wrong eut consumption ↵BlueWeabo
(#2190) * fix overclock calculator making too many parallels and wrong eut consumptions * fix duration increase when trying to do a noOverclock calculator * spotless * add correct api for no overclock * address review
2023-07-28Less hostile user interfaces (Buffer/Filter/Input bus) (#2165)Yannick Marcotte-Gourde
* Made Emit Energy button a CycleButtonWidget * Made Emit Redstone button a CycleButtonWidget * Made Invert Redstone button a CycleButtonWidget * Made Stocking Mode button a CycleButtonWidget * Spotless apply * Made Invert Filter button a CycleButtonWidget * public bInvertFilter -> protected invertFilter * Deduplicated filter code * Made Allow NBT button a CycleButtonWidget * Made Ignore NBT button a CycleButtonWidget * public bNBTAllowed -> private allowNbt * public bNBTAllowed -> private ignoreNbt * Grey extended tooltips * Don't hardcode multiline tooltips * Document hidden functionality * Cleaned numeric constants * Fixed string constant declaration * Named constants in filter * Unify filter redstone behavior * Fix cover filter mode being inverted so that the displayed mode is the active one * Less magic numbers * Allow right clicking recipe filter * Display only machine type in recipe filter and cycle through compatible machines * Buffer tooltips show output voltage to clarify their role as passthroughs * Added more info to Emit EU/Redstone buttons * Added Sorting mode button to buffers/filters * Added Sorting mode button and stack limit button to input buses * Don't cycle prefixes when clicking with itemstack * Fixed tooltips to work off of the inventory * Fix RecipeFilter losing filter * Support multiblock machines * Use ModularUi syncers to sync state with client Thanks minecraft7771! * Grey text for recipe filter helper text * AnimatedTooltipHandler -> EnumChatFormatting * Explicited RecipeFilter filter building * Specify color for empty slot tooltip * Don't cache new uses of GT5U.MBTT.MachineType. Also corrected MachineType::description * Removed unused getItemExtraTooltip * Multiple returns in getItemStackMachineRecipeMap
2023-07-28Crafting Input bus/buffer Overflow fix (#2187)greatinfluence
* Ignore the .vs file created by VS * Fix item/fluid integer overflow problem
2023-07-28Add more API to ParallelHelper and rework OverclockCalculator (#2185)BlueWeabo
* refactor OC calc * somewhat refactor parallel helper * fix PA not OCing correctly no clue why it wasn't using super and then setting the duration again. * make use of new api to make fusion cleaner * make batch mode actually dynamic * add another reason for 0 parallel * move variables around to try and group them together * address reviews * add overclocking past 1 tick by adding parallels * add null check and make a basic calculator to prevent npe * check null recipeMap supplier * address reviews * addressing of reviews * make it possible to call some OverclockCalculator methods through static methods * address reviews * make sure one doesn't get too many OCs when calculatin under 1 tick * add api for custom duration under one tick and fix batch mode doing 0 ticking * fix not calculating duration under 1 tick correctly * spotless * try to have correct eut consumption * address review * make sure mk5 fusion is said in nei * fix eutCalculating under one tick way too much and address reviews * remove roundUp voltage
2023-07-28Crafting Input: display pattern output by default (#2186)Harry
* Crafting Input: display pattern output by default * update modularui
2023-07-26Allow using ME output hatches for fusion reactor (#2184)miozune
2023-07-26Texture & Bug fixes for Crafting Input Hatches (#2182)Harry
* crafting input textures * texture v2 * texture v3 * texture * various fixes * lazy pattern update * fix dtpf * fix removing pattern * spotless * fix lag in recipe checks * fix * increase tier so they look pretty
2023-07-26Remove "Ore Byproduct List" NEI in favor of custom diagram mod (#2183)miozune
2023-07-26Reset outputs after outputting them (#2181)Maxim
2023-07-25fix oil cracker crashing on being placed (#2180)BlueWeabo
2023-07-25Return validate recipe result, when leaving the process method (#2179)Maxim
2023-07-24Fix wrong Oregen Pattern on Servers (#2177)glowredman
* Update buildscript * Send oregen pattern to client on login
2023-07-24Make Parallel Helper do better chanced output calculation for paralleled ↵BlueWeabo
chanced recipes (#2130) * better calculation * roll for each parallel * skip rolling for recipes with chance at 100% * address not setting as null when stcksize is 0
2023-07-24clearer order and some comments (#2176)chochem
2023-07-24Use additive production modifier (#2169)Jakub
2023-07-24fix implosion compressor requiring wrong amount of output (#2168)Glease
2023-07-24Add a config to enable seeing average ns per tick in waila (#2173)BlueWeabo
* add averageNS * add ns to line * add lang and space on unit
2023-07-24Fix EBF calculating twice and Oil Cracker having wrong discount (#2172)BlueWeabo
* fix * address reviews * spotless
2023-07-24Add Crafting Input Buffer (ME) (#2160)Harry
* Crafting input buffer * persist data * rename and stuff * no more waiting for multis to start * rearrange ui * spotless * fixes * refactor * Crafting Input Slave * getCrafterIcon * crafting input bus * spotless * Update GT_MetaTileEntity_MultiBlockBase.java * Update GT_Loader_MetaTileEntities.java * Update GT_Loader_MetaTileEntities.java * Update GT_MetaTileEntity_MultiBlockBase.java * Update GT_MetaTileEntity_MultiBlockBase.java * Update GT_Loader_MetaTileEntities.java --------- Co-authored-by: Martin Robertz <dream-master@gmx.net>
2023-07-24Fix hull recipe removal from #2170 (#2171)Serenibyss
* Revert "Fix hull crafting table recipes (#2170)" This reverts commit 3d05af464ff0d20020b988fdfccd9252fd9d06fd. * Fix recipe removal order
2023-07-24Fix hull crafting table recipes (#2170)Serenibyss
2023-07-24Adding Tritanium ore (#2166)TheEpicGamer274
2023-07-23Cache old recipe map and delete lastRecipe if it changes (#2167)Maxim
2023-07-22remove old base gt recipe that we dont want (#2164)chochem
2023-07-22Fix recipe check broken by fluid registry (#2161)miozune
2023-07-22buff rutile yield from garnet processing (#2154)Turtle
in https://github.com/GTNewHorizons/GT5-Unofficial/pull/1927 titaniumtetrachloride was changed to need 3 rutile instead of 1. This was the result of new processing lines for bauxite and ilmenite that yielded much higher amounts. As a result of the changes to titaniumtetrachloride all other sources of rutile were nerfed by a factor of three. This change would return rutile to the same yield of titanium as before the titaniumtetrachloride rebalance
2023-07-22add circuit (#2163)chochem
2023-07-22Exposed recipe consumption via method (#2162)Maxim
* Exposed recipe consumption via method
2023-07-20Fix PA destroying itself (#2159)Maxim
2023-07-20Generic processing logic GTPP API (#2155)Maxim
* Added getter for speed bonus and eut discount, making the migration of gtpp machines easier * Added getter for current parallel * Added method that exposes recipe finding * Extract setup of processing logic like in super * Added controller slot to input list of processing logic * Adressed review
2023-07-20Added display of machine name to WAILA (#2156)Maxim
2023-07-20Format Waila Fluid Display for GT Blocks (#2157)Connor-Colenso
* Change formatting * Spotless!!! --------- Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
2023-07-19remove unnecessary recipes (#2153)chochem
2023-07-19fix enriched holmium (#2152)chochem
2023-07-19Migrate fusion reactor to proper generic processing logic (#2145)Maxim
* Migrate fusion to generic processing logic * Adjusted OC calculator to allow max number of OCs * Fixed typo * Fix buffer consumption logic * Fix oversight * Addressed reviews
2023-07-19Boron Plasma freezing fix (#2150)chochem
* fix boron plasma freezing * update BS
2023-07-19enable batch mode for ebf and vf (#2151)BlueWeabo
2023-07-19fix input and output being switched (#2149)BlueWeabo
2023-07-18Fix GT_ParallelHelper always doing batch mode parallels instead of focusing ↵BlueWeabo
on normal parallels (#2147) * fix * make sure normal parallels are ran before batch mode
2023-07-18Added machine type on single block tooltips (#2138)boubou19
* change tooltips * put machine types together * Added constructor to accept multi line tooltip on sbs * sorting machine registering methods * update MachineType * migrate machines to multiline description * add new constructor for matter amplifier * migrate matter amplifier to multi line tooltip * spotless apply * Capitalize machine types * breakdown large run methods into themed methods * migrate TE IDs to an enum (1/?) * spotless apply * migrate TE IDs to an enum (2/?) * migrate TE IDs to an enum (3/?) * migrate TE IDs to an enum (4/?) * spotless apply * sorting crafting recipes by type + fix meta id typo * migrate TE IDs to an enum(5/?) * spotless apply * merge master (#2143) * Make structure tooltips more colorful (#2133) * default color changes * add colored casing amount builders * oversight * address reviews * GPL Special Item access (#2134) * Added getters to allow a machine to set the special item for recipe checking * Changes to ore factorys running mode description (#2135) * Changes the integrated ore factory mode description to match what its actually doing. * Some tooltip grammar changes. That would have annoyed me :) * Enable void protection for PA (#2136) * Added ofNoOverclock builder that accepts eut and duration (#2140) * Fix findRecipe might limit stack size by 64 (#2139) * Fix potential issue with applecore ItemFoodProxy (#2137) * Fix potential issue with applecore ItemFoodProxy * Fix the worst class loader issue ive ever encountered --------- Co-authored-by: GDCloud <93287602+GDCloudstrike@users.noreply.github.com> Co-authored-by: Maxim <maxim235@gmx.de> Co-authored-by: Lyfts <127234178+Lyfts@users.noreply.github.com> Co-authored-by: miozune <miozune@gmail.com> Co-authored-by: Serenibyss <10861407+serenibyss@users.noreply.github.com> * Moved machine type and descriptions to lang files * Removed redundant visibility modifier * Only expose translated descriptions * Using prefix gt.recipe for NEI compatibility * Deprecate use of LanguageManager in GT_Recipe_Map * Unify GT_Recipe and MachineType localization * Electromagnetic Polarizer consistency with Separator * Added Packager MachineType * Added Scanner MachineType * Added Rock breaker MachineType * Added Mass Fabricator MachineType * Added Replicator MachineType * Added "Machine Type" tooltip to steam machines * public modifier unnecessary * Spotless apply --------- Co-authored-by: minecraft7771 <maxim235@gmx.de> Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: GDCloud <93287602+GDCloudstrike@users.noreply.github.com> Co-authored-by: Lyfts <127234178+Lyfts@users.noreply.github.com> Co-authored-by: miozune <miozune@gmail.com> Co-authored-by: Serenibyss <10861407+serenibyss@users.noreply.github.com> Co-authored-by: YannickMG <yannickmg@gmail.com>
2023-07-17Fix division by zero error with VoidProtectionHelper (#2144)miozune
2023-07-17Fix potential issue with applecore ItemFoodProxy (#2137)Serenibyss
* Fix potential issue with applecore ItemFoodProxy * Fix the worst class loader issue ive ever encountered
2023-07-17Fix findRecipe might limit stack size by 64 (#2139)miozune
2023-07-16Added ofNoOverclock builder that accepts eut and duration (#2140)Maxim
2023-07-15Enable void protection for PA (#2136)Maxim