aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/items/ItemComb.java
AgeCommit message (Collapse)Author
2023-04-04Modid work (#1833)boubou19
* add all mods founds in NHCore * depracte old strings * add ars magica 2 * more enum work * use a switch * spotless * more mod id rework * more mod id rework * more mod id rework * should be last * spotless * rename to make more sense * add path attribute * add getResourcePath to enum * spotless
2023-04-03Fix RA2 bugs (#1830)boubou19
* fix pulverizer chances mistakes * fix block version of the PBF * use properly RA2 for PBF recipes * spotlessApply (#1831) Co-authored-by: GitHub GTNH Actions <> * enable lots of materials by default * fixes, documentation, and minor api contract update * spotless --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
2023-04-01Jabel, Generic injection and mostly automatic code cleanup (#1829)Raven Szewczyk
* Enable Jabel&Generic injection, fix type error caused by this * add missing <> * Infer generic types automatically * Parametrize cast types * Use enhanced for loops * Unnecessary boxing * Unnecessary unboxing * Use Objects.equals * Explicit type can be replaced with `<>` * Collapse identical catch blocks * Add SafeVarargs where applicable * Anonymous type can be replaced with lambda * Use List.sort directly * Lambda can be a method reference * Statement lambda can be an expression lambda * Use string switches * Instanceof pattern matching * Text block can be used * Migrate to enhanced switch * Java style array declarations * Unnecessary toString() * More unnecessary String conversions * Unnecessary modifiers * Unnecessary semicolons * Fix duplicate conditions * Extract common code from if branches * Replace switches with ifs for 1-2 cases * Inner class may be static * Minor performance issues * Replace string appending in loops with string builders * Fix IntelliJ using the wrong empty list method * Use Long.compare * Generic arguments: getSubItems * Generic arguments: getSubBlocks * Raw types warnings * Fix remaining missing generics * Too weak variable type leads to unnecessary cast * Redundant type casts * Redundant array length check * Redundant vararg arrays * Manual min/max implementations * A couple missed inspections * Goodbye explosion power ternary ladder * Apply spotless * Get rid of the other two big ternary ladders * Binary search explosion power * Don't overcomplicate things
2023-04-01update spotless formatting (#1827)boubou19
2023-04-01Recipe Adder v2 (#1770)Glease
* add everything * fixes * migrate plasma forge recipes * syntax update * make chances array length differ a fatal error * time constants + long eut overload * migrate extruder recipes * migrate electromagnetic separator recipes * migrate wiremill recipes * migrate forming press recipes * migrate bender recipes * add doc to clarify the three itemInputs * migrate alloy smelter recipes * migrate arc furnace recipes * added ModIDs enum * sort ModIDs * migrate autoclave recipes * migrated some assembler recipes * split a bit more assembler recipes * migrate canner recipes * migrate brewing recipes * ic2 mod check in canner recipes * use some loops to reduce the amount of recipes to migrate * add requested helper methods * migrate vacuum freezer recipes * migrate thermal centrifuge recipes * format smelter recipes only, doesn't go through normal GT recipe * migrated slicer recipes * migrated sifter recipes * Use proper enum now * remove more constants * cleaning cutting recipes before migration * remove tons of dead commented recipes * migrate pyrolyse recipes * use ModIDs enum more * migrate printer recipes * add a less confusing way to specify value of specialItem * migrate pulverizer recipes * less confusing special item specification * even more ModIDs enum usage * fix auto * import confusing Minecraft enum value with Minecraft client object * migrated blast furnace recipes * migrated Centrifuge recipes * migrated assembler recipes * migrated implosion compressor recipes * migrated extractor recipes * migrated mixer recipes * remove useless code * mgrate universal chemical recipes * refactor chemical recipes * migrate single block only chem reactor recipes * migrate chem reactor recipes * reworked circuit assembler recipes before migrating them * migrated circuit assembler recipes * fix merge conflict for assembler recipes * remove leftover of the merge conflicts * fix weird translation glitch * example of assembly line recipe using RA2 * bugfixes for assline * remove specialValue usage in blast furnace recipes * fix more bugs * add nooptimize to where it make sense * add recipe descriptions * Materials.Superconductor -> Materials.SuperconductorUHV * remove useless Object creations * remove explicit long casts * migrate assemblyline recipes * migrate chemical bath recipes * migrate compressor recipes * move smelting recipe where it belongs * migrated cutting machine recipes * migrated fermenter recipes (unhide alcohol) * remove explicit long casts * migrate fluid canner recipes * migrate fluid heater recipes * migrated fusion recipes * migrated lathe recipes * migrated laser engraver recipes * migrated packager recipes * migrated forge hammer recipes * migrated TPM recipes * exit early and reduced indents * migrated fluid extractor recipes * migrated fluid solidifier recipes * migrated electrolyzer recipes * migrated crop processing recipes * migrated default polymerization recipes * migrate distillery recipes * migrate matter amplifier recipes * add metadata identifier for fusion ignition threshold * migrate fuel recipes * update bs (cherry picked from commit c2d931c9b6caa0376e9d50591894cd849021104d) * spotless (cherry picked from commit 1060f5357fb95e28bfae1f052025f55dabc21a0f) * guard against null itemstacks * wrong translation * fix empty arrays being accessed * add 0 duration and 0 EU/t for fuel recipes * fix typo in matter amplifier recipes * spotless apply --------- Co-authored-by: boubou19 <miisterunknown@gmail.com> Co-authored-by: Martin Robertz <dream-master@gmx.net>
2023-02-19Make material renderer available for arbitrary item (#1753)miozune
* Make material renderer available for arbitrary item * pass render pass
2023-02-11fix walrus comb (#1730)chochem
2023-01-30[ci skip] spotlessApply with the new settingsJason Mitchell
2022-12-12Add Kevlar Bee and remove autoclave recipes (#1540)Runakai1
* Kevlar, Autoclave and Fixes Removed Autoclave recipes since it needs to be reworked. Useless recipes right now. Added kevlar bee to be used in Quantum Forcer Fixed Lithium bee * fixed some stuff * spotless * spotlessApply (#1541) Co-authored-by: Runakai1 <48415331+Runakai1@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> * remove commented out code * missed one Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: BlueWeabo <76872108+BlueWeabo@users.noreply.github.com>
2022-10-16Add combs ore dict (#1468)Jakub
2022-10-07Cryotheum bee change (#1443)Runakai1
* Add Blizz comb * apply spotless * Wrong way around
2022-10-03Switch HF and phatlic acid (#1433)Runakai1
2022-08-28Removed Infinity and Cosmic NT centrifuge (#1314)Runakai1
2022-08-27Update buildscript & apply spotless (#1306)Raven Szewczyk
* Update dependencies * Update buildscript, apply spotless
2022-08-21IndiumBee (#1282)Runakai1
* IndiumBee Added Indiumbee * Bee change REduced chance to 2% added venus dim requirement * Updated Infinity Bee Infinity bee had a 100 chance divider which was unreasonably high considering its blocked from mutatron.
2022-08-21Centrifuge Changes (#1280)Runakai1
* Centrifuge Changes All of the Centrifuge recipes for bees were a joke. Thus, I kept chances and made it output a full dust instead. Also, Infinity Catalyst, Cosmic Neutronium and Infinity are properly integrated into their respective tiers with better chances. + fixed spelling mistake * Dependencies and Neutronium removed dependencies I added made neutronium bee output 1 nugget instead of dust- was a mistake by me in bees balance changes. Should have been a nugget from the beginning.
2022-08-03Fix dev crash (#1194)Jakub
2022-08-03Update ItemComb.java (#1192)Runakai1
Buffing Cryotheum Bee to procude Blizz dust directly instead of tiny piles.
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-07-31Bees balance changes (#1166)Runakai1
* Modified Bees and stuff, not yet ready * Added 4 bees, changed chances, changed fluid regulator Fluid regulators require a fluid detecor cover now to reduce conflicitng recipe conflicts Added Jaegermeister Bee as an endgame bee Added Sunnarium Bee Added Glowstone Bee Added Essentia Bee for future purposes (MagicBees) Reduced chances of combs, mistakenly too high * Updated bee chanes of a few Caelestis 4->10 Uranium 2->3 Plutonum 2-3 Naquadah 1->3 Thorium 2->3 Americium 3->5 Neutronium 1->2 * Recipe changes and one bee change Changed Circuit Number of fluid regulator changed mica bee foundation changed fluid extractor recipe * fixed iron comb producing meteoric iron instead of normal Co-authored-by: Martin Robertz <dream-master@gmx.net>
2022-07-02Par, var, begone! (#1104)YannickMG
* Renamed parameters of ItemBlock subclasses * Renamed damageDropped and getDamageValue method parameters of Block subclasses * Removed trivially superfluous overrides of Block::quantityDropped, Block::isOpaqueCube and Block::renderAsNormalBlock * Removed trivially superfluous overrides of Block::getItemDropped * Cleaned up a few more block subclass method parameters * Cleaned up obsolete Javadoc * par1 -> block in ItemBlock Constructors * Renamed arguments to drawGuiContainerForegroundLayer * Cleaned up redundant casts * Renamed arguments to drawGuiContainerBackgroundLayer * Renamed arguments to Slot subclass constructors * Renamed arguments to World subclass GT_DummyWorld * Renamed parameters of updateProgressBar * Renamed the rest of the par* parameters outside of GT_MinableOreGenerator which should be deleted * Renamed most var1-var10 and a few more in generally non-dead code * Renamed last varSomething variables * Removed 3 fully dead classes used nowhere in the codebase, with obsolete unused code
2022-03-14pin comb type id instead of depending on array ordinal (#980)Glease
* pin comb type id instead of depending on array ordinal * fix up _NULL related problems * fix out of bound * make it private * add some more test
2021-12-11add Cryolite Bee and combs (#793)Martin Robertz
* add Cryolite Bee and combs * add Cryolite Block
2021-08-29create a MOD ID for Core ModDreamMasterXXL
change all Core mod items match with ID Add Soldering function to Material list put all Railcraft recipes from Core mot to GT
2021-05-24feat(glow): iconset machines glow supportLéa Gris
- Add glow support for all sides and states of iconset machines (same as with basicmachines). Automated code cleanup with IDEA of: - Optiimise all imports (remove unused, sort) - Reorder all modifiers to the canonical preferred order (as stated in the Java Language Specification) - Add all missing @Override annotations
2021-05-08Fix name of americiumPrometheus0000
2021-03-21ItemComb config fiximpbk2002
my mistake. This has to be changed.
2021-03-20Centrifuge Duration matchimpbk
Centrifuge Duration is now Equal to original Recipes.(At least in Bee Comb Nerfed Config) Unnerfed config needs more balancing, because disabling the nerfed Config makes Comb process recipes strange and override each other.(Even before this PR).
2021-03-15update ItemCombimpbk
Matched requirement of EU/t same as the old one.
2021-03-15Update ItemComb.javaimpbk2002
2021-03-15Update ItemComb.javaimpbk2002
changed minimum Tier that needs cleanRoom for autoclave and chemical process
2021-03-14Update ItemComb.javaimpbk2002
fixed missed chance of twilight forest bees
2021-03-14Update ItemComb.javaimpbk2002
if the config nerf beeComb is disabled. GT_comb processing recipes go totally Messed up. So I separated the nerfed part and un nerfed part. Also added enum values to the recipes to automatically generate the required voltage and duration, required cleanRoom by the required Voltage Tier. This will make us easier to add new honeycomb or balancing Beekeeping.
2021-01-17More removal of commented out code, small formatting adjustmentsJason Mitchell
2020-12-16Fix comb drop (ganymede dust)Prometheus0000000
2020-05-16adding missing autoclave comb recipesDreamMasterXXL
2020-05-16bee changesDreamMasterXXL
Autoclave get a new input slot
2020-05-16fix bugsDreamMasterXXL
Naquadria combs give naquadah ore #6120 https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/6120
2020-05-15Naquadria combs give naquadah ore #6120DreamMasterXXL
https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/6120 (cherry picked from commit a3dbffc92ebf8b89a24e29339cf9064ce7437b70)
2020-05-13Add Fire Essense beeDreamMasterXXL
2020-05-12fix a few thingsDreamMasterXXL
2020-05-12fix spawner egg from combsDreamMasterXXL
2020-05-10finishing hee bees so farDreamMasterXXL
2020-05-10add more hee beesDreamMasterXXL
2020-05-10more HEE bees and some fixesDreamMasterXXL
2020-05-10Start to add new HEE Bees for Ender Dust, Ectoplasma and Arcane ShardsDreamMasterXXL
2020-02-18Update ItemComb.javaTataTawa
EnergeticAlloy Combs now produce correctly, not vibrant alloy.
2019-12-21add quadrupeling to pure tungsten ore #4751Dream-Master
https://github.com/GTNewHorizons/NewHorizons/issues/4751
2019-07-16add rutile quadrupeling #4850Dream-Master
https://github.com/GTNewHorizons/NewHorizons/issues/4850
2019-03-19add more comb recipesDream-Master