Commit Graph
201 Commits
Author SHA1 Message Date
Xander 0dba7cb584 use getters & setters for InfuseStorage (#5416)
* use getters & setters for InfuseStorage to prevent type/amount discrepancies

* Fix a few checks when reading from network/NBT

* Fix some spacing I screwed up by accident

* fix metallurgic infuser gui texture for dark gauge
2019-04-20 13:38:41 +08:00
Richard Freimer bc8c4f6686 Implement #5397 add a way to get CrT gas from string (#5400)
* Implement #5397 add a way to get CrT gas from string. Closes #5397
2019-04-15 08:46:30 +08:00
Richard Freimer 9d98ef575d Port config rewrite (#5378)
Port Config system, Remove some unused code, Refactored various Tier enums out into their own package
2019-04-11 07:18:59 +08:00
Richard Freimer 29951ae7ca Ported metallurgy ore doubling and cyclic integration stuff (#5358) 2019-04-08 14:08:27 -06:00
pupnewfster 7704846128 Port 25ca41e5e allow custom item matching in recipe inputs. closes #5241 closes https://github.com/mekanica/mekanica/issues/109 2019-04-07 10:30:47 -06:00
pupnewfster 5b0814e16b Port 486e5d451 clamp int for forge energy wrapper 2019-04-05 18:11:25 -07:00
Austin d5f41f731c Remove obsidian crushing recipe, up enrichment recipe of obsidian from 2 dust to 4.
Removed previously added crushing recipe for obsidian

Changed the obsidian dust output from 2 to 4 in the enrichment chamber.

Fixed a mistakenly edited like at 274 from previous commit.
2019-04-02 12:35:07 -05:00
Austin e4b70fa0e3 dustObsidian added as crushing recipe
Crushing machines now output 4 obsidian dust from 1 obsidian.

Fixed bug that made refined obsidian output regular obsidian dust when crushed.

Obsidian still gets caught in the ore batching that we use in order to provide recipes for the enrichment chamber. Will need to address this at a later date.
2019-04-02 04:47:01 -05:00
Richard Freimer 8c276b6b1a IInventory automation removal (#132)
* Start killing off IInventory
* Write a couple TODO's of things that should eventually use IItemHandler
* Remove unused variable, and add back special case handling for bins
* Update some of the implementations of getSlotsForFace
https://github.com/mekanism-mod/Mekanism/commit/11e9e2df7a2f2b053fcb9371bf496f7aa88a04cd
* Cleanup a bit of implementation around items being valid for a slot
2019-03-29 10:32:11 -06:00
temp1011 392b7c2ea0 remove and inline methods 2019-03-26 14:50:30 +00:00
Richard Freimer 5a67067f07 Update config to include comments (#108)
* Add comments to configs
* Removed unused options
* Added a few of the newer options mainline Mekanism supports
* Also list the default values in the MekanismConfig class for easier comparision
* Change spacing slightly for tools config in code
* Add some of the missing generator config comments
* Config comments for tiers, and add missing comment for MinerSilkMultiplier
* Config comments for rest of generators module
* Fix which stick to sawdust recipe
* Config comments for tools
* Config comments for armor
* Add warning to DM radius comment, and fix a couple things addressed in PR comments
2019-03-24 14:40:28 -06:00
pupnewfster f4ab343dab Add support for adding recipes via Compound Ingredients/OreDict
Note: This just automatically adds all the entries for now, rather than requiring you to loop over it yourself.
2019-03-22 19:13:59 -04:00
pupnewfster 610254c5d1 Fix using wrong recipe category string in places, and broken IMC 2019-03-21 14:23:22 -06:00
pupnewfster e34e92a344 Promote RecipeHandler.Recipe to a generic class 2019-03-21 14:23:22 -06:00
pupnewfster 21017efc68 Don't reference main class from API package
https://github.com/mekanism-mod/Mekanism/commit/7c50d1e7cc3dd915979304b46e77a36068ac457d
2019-03-21 10:53:28 -04:00
pupnewfster ae2619c12d Minor cleanup 2019-03-17 15:41:21 -06:00
pupnewfster 7257e2e8b7 Remove dependence on MTLib for CraftTweaker Integration 2019-03-17 15:41:21 -06:00
Richard Freimer 2634f394a0 Use proper AE2 FE attunement 2019-03-17 15:05:10 -04:00
pupnewfster 6ad9a4d23c CraftTweaker mekrecipe command to print all recipes of a machine 2019-03-14 11:57:58 -04:00
pupnewfster 9e91142759 Fixes CrT removal of sawmill and separator. #31 2019-03-13 16:04:38 -04:00
pupnewfster ce1e1b32bf Add CraftTweaker infuseType command 2019-03-13 00:52:51 -04:00
pupnewfster 13f3db86eb CraftTweaker gases sub command. Implements #10 2019-03-12 23:19:13 -04:00
pupnewfster 6afbd88b91 Improve CraftTweaker logging of gases 2019-03-12 22:46:50 -04:00
Dave Smith 4381be10ea Dss mekanica rename (#50)
Introduce mekanica rename
2019-03-12 12:23:20 -06:00
pupnewfster dcd440705d Support for removing all built in recipes of a type via CraftTweaker 2019-03-12 11:36:52 -06:00
pupnewfster 704a9b50ae Fix AdvancedMachineInput CrT JEI stuff being backwards 2019-03-12 11:36:52 -06:00
pupnewfster bd5d064bd0 Fix error logging of gas stacks. 2019-03-12 11:36:52 -06:00
pupnewfster 3d6b202bd5 Make plank oreDict not hit the same entries multiple times 2019-03-12 11:36:52 -06:00
Dave Smith e0b7ea62a4 The Great Reformat; moving to google-java-style w/ 4 space indent and 120 column line wrap 2019-03-09 22:47:13 -07:00
pupnewfster 37977759d1 Remove unused hook checks 2019-03-09 21:20:50 -07:00
Dave Smith 5bf3b9f458 Merge pull request #23 from pupnewfster/patch-2
Fix CrT remove running before recipes are added
2019-03-07 21:55:44 -07:00
Dave Smith 95ca29fa19 Squashed commit of the following:
commit 0d4dc5991e572793134c0c1af8bb35db528071ad
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 19:25:28 2019 -0500

    IntelliJ inspections, Unused Import

commit c757d3236b6304b1d3295ad392b88677bccf3003
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 19:09:24 2019 -0500

    IntelliJ inspections, Constant conditions & exceptions

commit c63a821ef9fc705941052a876cc1ef950471912e
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 17:41:31 2019 -0500

    IntelliJ inspections, @NotNull/@Nullable problems

commit 506bbfd3241336082b17e5d47f8cec496666dcff
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 16:50:46 2019 -0500

    IntelliJ inspections, Unused label

commit bad10c2428346b5feb1816e4a78d7cc2bc1259f0
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:33:54 2019 -0500

    IntelliJ inspections, Unused assignment

commit bfe633afbfb6380d0f5ee2e8ab14f8981a455681
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:32:02 2019 -0500

    IntelliJ inspections, 'equals()' between objects of inconvertible types

commit 6d179f8639fad1a7c3fa01467c003a8fd309da09
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:29:28 2019 -0500

    IntelliJ inspections, Unused import

commit c21f1cfa5566308237dc8bddb8b79908e272a637
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:25:41 2019 -0500

    IntelliJ inspections, Unused import

commit e5d9e03af582c7315b057861b8f0019e46157dee
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:23:10 2019 -0500

    IntelliJ inspections, Redundant 'throws' clause

commit 1c589ba5740411a5595e9fda177696670bc7b7df
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:21:07 2019 -0500

    IntelliJ inspections, Static member referenced by instance variable

commit 6c17e9ca7fb22a0e285337133659e826f3bfdfee
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:20:02 2019 -0500

    IntelliJ inspections, Catch block may ignore exception

commit 42b3cd788ceb7d6ce657d582bbbd8345a2ec5676
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:16:29 2019 -0500

    IntelliJ inspections, Unnecessary label on 'break' statement

commit f6abc3c66f3aca147edb274720cdb94bff568b0b
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:15:29 2019 -0500

    IntelliJ inspections, Too weak variable type leads to unnecessary cast

commit 6356d1fea8d55907ae1c7b011223fbbc07236c1f
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:11:17 2019 -0500

    IntelliJ inspections, Redundant type cast

commit 559c1a2ff523fd7e23f3750d5c801af73876f1d0
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:04:45 2019 -0500

    IntelliJ inspections, Redundant type arguments

commit ae816ec2a79cf4c8fee776db651a54f68c1dacaa
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:01:27 2019 -0500

    IntelliJ inspections, Redundant Collection operation

commit 1da69b8baff922b98a32163c7d5f90aa77a6a8bc
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:00:55 2019 -0500

    IntelliJ inspections, Redundant array creation

commit 7e3ef81a3597c596d2206c93442e950ac9183de0
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 15:00:11 2019 -0500

    IntelliJ inspections, Condition is covered by further condition

commit f298bbb9f31ecbe935ef6cbf98b56951434a05f8
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:58:10 2019 -0500

    IntelliJ inspections, Redundant 'Collection.addAll()' call

commit ce715c5cd724c4dc71ff2cb53e5bc12f16289f12
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:56:56 2019 -0500

    IntelliJ inspections, 'Collection.toArray()' call style

commit 0bde4b0eb23ac5d8f40a410ed55315e4a422a30c
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:55:40 2019 -0500

    IntelliJ inspections, Calls to 'Arrays.asList()' with too few arguments

commit 6d06d11dcf9c077ed6b216a0bbd61434b10fc610
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:52:26 2019 -0500

    IntelliJ inspections, Pointless arithmetic expression

commit 6501d725af1eda5127489f77fd723396002b29b2
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:42:32 2019 -0500

    IntelliJ inspections, Anonymous type can be replaced with lambda

commit 85341ae5df9d63fb0ad7281c260c77d064adf0c2
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:41:40 2019 -0500

    IntelliJ inspections, Explicit type can be replaced with <>

commit 7e2feae7189b92cb513499aed113d4a2634622c6
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:38:47 2019 -0500

    IntelliJ inspections, Unnecessary 'null' check before method call

commit 2c75a38fe9a969f832cd5777f4fad81ef47d037b
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:37:33 2019 -0500

    IntelliJ inspections, 'switch' statement with too few branches

commit 2e2aff57f7910aef5a68f41a1918e2c8a98509ec
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:34:50 2019 -0500

    IntelliJ inspections, Simplifiable conditional statement

commit 243f6a975f8b3da5e70a5c1a116db2aedd10900e
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:33:09 2019 -0500

    IntelliJ inspections, Duplicate condition in 'if' statement

commit a80c67fc30b737990e7805a8741dce120232badc
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:32:17 2019 -0500

    IntelliJ inspections, Unnecessary semicolon

commit 5a7220ee574c9d38d71db07e4fa995a56fee1eed
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:31:58 2019 -0500

    IntelliJ inspections, Unnecessary enum/interface modifier

commit f3a66f4462033d2f446c2961a1ad8e9cfde3ed36
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:30:36 2019 -0500

    IntelliJ inspections, Unnecessary conversion to String

commit 1662540be864db4669cd80c8c46a9b35be202b62
Author: pupnewfster <[email protected]>
Date:   Thu Mar 7 14:29:33 2019 -0500

    IntelliJ inspections, C styled array declaration
2019-03-07 21:53:20 -07:00
Richard Freimer c68c8d3502 Fix CrT remove running before recipes are added
closes #20
2019-03-07 20:29:53 -05:00
pupnewfster fb14fba251 Cleanup CraftTweaker integration code 2019-03-07 11:17:14 -07:00
Dave Smith 6cae14fff8 Fix #7; standardize bronze to 1 tin, 3 copper = 4 bronze 2019-03-01 07:34:09 -07:00
Dave Smith 8d3f8df49c Updating to 14.23.5.2808; naming fixes where necessary 2019-02-24 12:21:48 -07:00
Thiakil 39bab1b93c add ae2 recipes before CT processing. Fixes #5045 2018-05-08 10:24:51 +08:00
Tom Elfring ed2cc73ccf More complex JEI smelting integration. Fixes #5036 2018-05-01 10:34:43 +08:00
Thiakil 92914f6b07 Remove needless lambda to attempt to avoid forge deobf transformer issues 2018-04-30 08:35:03 +08:00
Xander b2df5860d2 add ae2 recipes since they dont seem to want to do so themselves 2018-03-25 14:31:55 +08:00
Xander 37b8e1538a hook any crystal macerator recipes from ic2 to the crusher 2018-03-25 13:11:24 +08:00
Xander e21e72052f fix CT gasstack with amount operation. Should fix #4944 2018-03-24 23:58:45 +08:00
Xander 3482390f27 catch CT exceptions and log. Recommended by Jared Fixes #4948 2018-03-24 17:59:13 +08:00
Xander 1415288bcf fix String#toLowerCase() calls to toLowerCase(Locale.ROOT). Fixes #4957 2018-03-24 17:09:44 +08:00
Tom Elfring 0b9b6556c7 Fix crash with CraftTweaker Enrichment helper.
Fixes #4890
2018-01-02 18:56:39 +01:00
Xander 1abc4044b6 fix dedi server crash on block highlight event 2017-11-19 17:12:35 +08:00
Xander 86f10bc586 bump mcmultipart version & fix block highlight of glowpanel & transmitters 2017-11-19 15:10:06 +08:00
Xander 7edbbe84a6 Work around multiparts disregarding onBlockActivated for placement by doing it ourselves. See amadornes/MCMultiPart#73 2017-11-19 12:47:55 +08:00
Xander 0640cd3477 let wrench handlers be enabled 2017-11-18 20:26:11 +08:00
aidancbrady 4ef4f8614d Cleanup, bump version to 9.4.2, bump MC version to 1.12.2 2017-11-16 12:34:04 -05:00