Commit graph

73 commits

Author SHA1 Message Date
Pahimar c36adabdee Reduce the number of calls to getEnergyValueForStack 2016-05-28 14:55:57 -04:00
Pahimar c3c6724fea Fixes #1060 2016-05-27 22:37:05 -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 997e981f3e Added more detail into the log message on HOW EE3 determined the value for an object 2016-05-26 16:03:12 -04:00
Pahimar 9113460a3b Fix a bug in computing energy values where it would not attempt to load in the values stored in the pre/post energy value jsons before doing the calculation 2016-05-25 13:25:52 -04:00
Pahimar 85f8d4bfa8 Simplify the energy value test suite and remove more deprecated classes 2016-05-25 11:01:07 -04:00
Pahimar 30c0eb46b7 Fix a possible NPE in the FluidStack comparator
Post calculation energy values set by command now send the new energy value mapping to all currently logged in players
Added methods for devs to see what items are currently blacklisted in the blacklist registry proxy
Added methods for devs to see what energy values are currently assigned in the energy value registry proxy
BlacklistRegistry contents are now synchronized with players when they log into a server, enabling players to play on different servers with different blacklist configurations without needing to update their own configs
Fixed issue in synching of all energy values where the incorrect map was used to synch against on the client side
2016-05-24 23:12:49 -04:00
Pahimar 5f570fc576 Better Singleton implementation of RecipeRegistry, and fix up the getStacksInRange to be more flexible about bounds 2016-05-20 13:56:53 -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 b0544a00ac Clean up some ItemStack copying and fix incorrect stack size in log message 2016-05-19 15:54:59 -04:00
Pahimar 715f7b6a2e Still working on clearing out some cobwebs 2016-05-18 20:54:04 -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 06b4801d55 Mama said save my work. I'm gonna save my work! 2016-05-16 22:22:12 -04:00
Pahimar 926ab181da Mama said save my work. I'm gonna save my work! 2016-05-16 22:02:23 -04:00
Pahimar 63c22f9255 Save often so you don't lose your work! 2016-05-16 15:06:40 -04:00
Pahimar 7efb66ec7f Fixing up DynEMC calculations. Sorely needed, and still a work in progress 2016-05-15 10:31:10 -04:00
Pahimar c8404fd6ca More serialization work, looking a lot cleaner than before but definitely still some improvements possible 2016-05-13 22:28:10 -04:00
Pahimar 3a29be6d9a Emagherd work on the 1.7.10 version! 2016-05-11 16:00:03 -04:00
Pahimar 35841c20ae Lots more Marker usage, for much better logging options (making my dev life so so so much easier) 2015-11-19 15:24:40 -05:00
pahimar b59fe4f64b Didn't even think to deprecated Enum entries - doh 2015-06-10 07:47:22 -04:00
Pahimar e4c6183083 A lot of various things done, including fixing derpy bounding boxes/etc 2015-06-09 23:25:40 -04:00
pahimar a317d47b3b Added in some basic events to the API (only the knowledge ones fire right now). These events are cancellable, and fire just before someone learns/forgets something. Cancelling the event will stop the change from happening. Also updated Waila and removed the need for CCC/CCL in mods/. 2015-05-21 18:41:44 -04:00
Pahimar 61ebb7d15f Setting up some accountability in who does what with the various systems (the API now logs what mod does what when for most of the major systems). Enable TRACE level logging to see 2015-05-07 15:11:23 -04:00
Pahimar a653c47a72 Set API version to a build property, and add in some prelim logging of what mods set what values when in the energy value registry 2015-05-07 14:47:54 -04:00
pahimar a46b8db610 Prelim API changes 2015-05-07 13:45:06 -04:00
pahimar d1621fbf82 Increment the API version, switch EnergyValue to only accept a float (over Number, small performance increase), and better protection of learning Ores 2015-05-04 08:18:15 -04:00
pahimar 74bb716395 Getting close now 2015-05-02 19:23:35 -04:00
Pahimar 87e1f9fb1a More broke stuff 2015-05-02 14:07:01 -04:00
pahimar 34cda981c0 Stuffs on fire yo 2015-05-01 14:21:59 -04:00
pahimar 301e8b75c7 Broken stuff 2015-04-20 21:16:48 -04:00
pahimar 646e74e329 Yay test cases pass successfully! 2015-04-19 15:01:35 -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 b98dee6e96 Bunches of stuff 2015-04-09 12:40:19 -04:00
Pahimar 201ecf99db Inventory sync when the search term is updated (client and server) and ensure that only people using the specified tablet process the inventory update packet 2015-04-03 00:39:52 -04:00
pahimar 97b032605c Another whack of stuff with varying levels of won't break 2015-03-25 18:20:57 -04:00
pahimar 75cc883063 Added in an "Always" option for regenerating Energy Values (useful for mod addon authors, thanks for the suggestion @Dynious!) 2015-03-23 08:12:44 -04:00
pahimar 90e89673d3 Fixed #786 2015-03-23 07:36:32 -04:00
pahimar 6f94c5a6f1 Lots of stuff before going on the cruise - various states of things 2015-03-11 16:34:37 -04:00
pahimar c66dc875b4 Dat big commit of partially working stuff before taking the laptop to PAX East and having no assurances that the code will survive the trip 2015-03-04 23:31:43 -05:00
pahimar 9f7158af90 NPE protection for hasEnergyValue and getEnergyValue. Should resolve #758 and #771 2015-02-21 08:07:17 -05:00
pahimar 9801cd639a Finish up the work on the new commands, and lots of other improvements/fixes 2015-02-19 22:09:10 -05:00
pahimar 56c1a56d26 Fix a typo in EnergyValueRegistry, more work on some extra commands, and fix a mistake in calculating a stacks energy value in the tooltip handler 2015-02-19 00:06:18 -05:00
Pahimar 7afcdf8d9a More work on getting the Alchemical Tome working properly 2015-02-18 10:11:06 -05:00
pahimar 051fc7f929 Hunk of stuff in various states of things 2015-02-17 20:05:18 -05:00
pahimar f174d1d6e7 Working on resolving an issue where the energy value registry is not working properly when mods are removed after values are genned 2015-02-15 21:13:35 -05:00
Pahimar 76460a75d5 Change up some logging messages for DynamicEV (tells you more what it's doing), and fixed the generation of the abilities files/directories for saving ability related configs to disk 2015-02-13 22:42:28 -05:00
Pahimar faf8012abc Switch DynEV logging of the various passes from TRACE to INFO (not many servers will be on TRACE level logging and its not a lot of logging entries) 2015-02-13 22:12:45 -05:00
pahimar ec3b5e3492 Correct case where the energy value registry wouldn't save itself to disk after it regenned in the active game session 2015-02-13 00:23:35 -05:00
pahimar 9776acb87a Simplify saving/loading of energy value files, add in a "static" (energy-values.dat) file, and add in some more trace logging for how long it takes each pass of dynamic value computation 2015-02-12 00:15:45 -05:00