Commit graph

18 commits

Author SHA1 Message Date
Pahimar adc3a79490 Centralize the energy value decimal formatter, change EnergyValue.toString to use the formatter, and fix two mistakes in wrapping objects where the object being wrapped is modified rather than the copy of the object 2016-05-28 14:57:10 -04:00
Pahimar 437470f9e7 Initialize the Blacklist Registry in Init
Rename ItemHelper to ItemStackUtils
Change the way OreStack identifies an OreStack from a list of itemstacks. Resolves #923
Added some more test cases to VanillaTestSuite
2016-05-27 16:03:14 -04:00
Pahimar 80afa0e95c Mark OreStack and WrappedStack final, and clean up some of the code in WrappedStack 2016-05-27 08:41:07 -04:00
Pahimar 429a0fc51b Make some changes to comparators, switch the recipe registry to a TreeMultimap (from HashMultimap), and dump WrappedStack's hashCode as we are no longer using HashMaps/etc (and it wasn't a great implementation anyways) 2016-05-19 21:10:55 -04:00
Pahimar 2569e1db9a Death to the old energy value registry - long live the new one! 2016-05-18 13:53:13 -04:00
pahimar 34cda981c0 Stuffs on fire yo 2015-05-01 14:21:59 -04:00
Pahimar 1312175b6b Fixing some bugs with the DynEMC system, and improving the tests 2015-04-16 18:18:49 -04:00
pahimar 771c930c28 Working on some improvements to the DynEMC system to make it more reliable (and faster). Also added in a test suite system using a specially crafted json file. More user documentation on how to use this to come in the future 2015-04-13 22:27:11 -04:00
pahimar b88a99ccfb Closes #784 2015-04-10 21:58:58 -04:00
pahimar fe3fe11bd1 Correc the case that when an OreDictionary recipe has a recipe input that is an OreDictionary entry that has no ItemStacks registered (ie, the recipe lists copper as an input but no items/blocks are registered as being copper) is added to the RecipeRegistry for consideration in energy value calculations. Prevents ridiculously low energy values from being assigned to items that use OreDictionary recipes. 2015-02-13 12:15:42 -05:00
pahimar e8e18fede1 Work on serializing/deserializing abilities to disk (cause why not give map makers more power?) 2015-02-07 23:12:25 -05:00
Pahimar fe7afe15d4 Serialize computed EnergyValues to disk after the initial computation. If mods change, or the file is not found, the values are computed again. Should significantly improve start up times when many mods are present. Closes #724 2014-08-29 16:25:31 -04:00
Pahimar 32bbca53cb More API related shenanigans, MUCH more to come (provide comments on your API related needs to pahimar@gmail.com) 2014-07-07 15:31:10 -04:00
Pahimar a1dc2d2130 A lot of refactoring in an attempt to get a proper API package. Do not consider this done or safe at all - pushing so that saner men/women than I can critique it 2014-07-07 11:22:21 -04:00
Pahimar f48f9093ab Fix some netsync stuff with the Calcinator, as well as the read/write NBT stuff. Also reformat some of the code 2014-07-04 15:18:10 -04:00
Pahimar af8621f480 Refactored references of Emc to EnergyValue and renamed the thread that initializes the value registry 2014-06-20 15:57:27 -04:00
Pahimar e77bb9ec48 Bump to latest Forge RB, and some work on getting Energy Value generation working again. More to be done! 2014-06-14 15:40:45 -04:00
Pahimar 39a6db0dce Playing around with some gradle improvements 2014-05-26 16:03:54 -04:00