8c3c9a6fdeFix logic derp in isLearnable/isExchangeable that was causing everything to be broken and on fire. Closes#1067
Pahimar
2016-06-03 19:45:18 -0400
39a3c8eef8Change ItemTooltipEventHandler to be more specific about the energy value for an object and if it's not learnable/researchable
Pahimar
2016-06-03 19:44:33 -0400
2aa81c0457A more efficient way of doing the same check in the last commit
Pahimar
2016-06-01 15:11:40 -0400
e056caee88Added more TRACE level logging to PlayerKnowledgeRegistry Improved logic in BlacklistRegistry.isLearnable and BlacklistRegistry.isExchangeable to check it the itemstack is a member of an ore dictionary entry which is blacklisted. If it is, it's not learnable/exchange
Pahimar
2016-06-01 15:07:40 -0400
4582db54b8Implement PR #881, not a complete solution to the transmutation tablet sync issue but its a good chunk of the solution
Pahimar
2016-05-30 10:53:39 -0400
fb355b72feI really need two monitors to properly examine how this PR works and what changes I want/should make to it. Continuing tomorrow.
Pahimar
2016-05-29 22:10:32 -0400
adc3a79490Centralize 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
Pahimar
2016-05-28 14:57:10 -0400
c36adabdeeReduce the number of calls to getEnergyValueForStack
Pahimar
2016-05-28 14:55:57 -0400
30ec9ab327Integrating CommandEE piece of #881
Pahimar
2016-05-28 09:12:27 -0400
9e7f1cc910NPE protection in the charge/tool modes
Pahimar
2016-05-28 08:53:01 -0400
7966625965Some extra NPE protection for people that may try to use the Blacklist Registry before EE3 gets to it's preinit phase
Pahimar
2016-05-28 08:23:31 -0400
d4ed4bbacbRearrange some of the configuration options
Pahimar
2016-05-27 22:37:19 -0400
437470f9e7Initialize 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
Pahimar
2016-05-27 16:03:14 -0400
6d2e1337b1Refactor NBTHelper. When NBTHelper is used to retrieve data from an ItemStacks NBTTagCompound it will also verify that the key it finds is of the expected data type (returns null otherwise). Sets in NBTHelper now also verify inputs. Changed ItemAlchemicalBag to check the players inventory for other alchemical bags that have the same UUID as the one being opened. If a duplicate is found the duplicates UUID is changed to a new random one. Closes#800.
Pahimar
2016-05-27 11:10:38 -0400
80afa0e95cMark OreStack and WrappedStack final, and clean up some of the code in WrappedStack
Pahimar
2016-05-27 08:41:07 -0400
79bf272f28Fix a rather insidious bug in the wrapped stack comparator that was causing incorrect energy values to be computed
Pahimar
2016-05-26 16:04:04 -0400
22337f0bbcMove away from System.currentTimeMillis to System.nanoTime (more accurate, less costly)
Pahimar
2016-05-26 16:03:40 -0400
997e981f3eAdded more detail into the log message on HOW EE3 determined the value for an object
Pahimar
2016-05-26 16:03:12 -0400
c4f3039e60Switch to proper API location for the recipe registry proxy
Pahimar
2016-05-26 16:01:45 -0400
f41b0279a6Added some more NPE protection to the ID based ItemStack comparator Added back in the small and medium sized Alchemical Chest aludel recipes Added a recipe to make a chalk block from 4 pieces of chalk Created an EE test suite to test EE specific energy values Re-registered several EE items Removed a duplicate Gson type adapter registration Changed the ItemStackSerializer to return JsonNull in the event that there is no registered name for the item (the item would never deserialize as it wouldn't have a name to lookup) Changed the EnergyValueMapSerializer to allow serializing of null energy values (as JsonNull). Used for energy value testing.
Pahimar
2016-05-26 12:02:37 -0400
9112666443Remove unnecessary second load
Pahimar
2016-05-25 14:27:14 -0400
cd7d965000Change the tooltip to show No Exchange Energy in the event an item is blacklisted from being learned and from being exchanged (effectively no value)
Pahimar
2016-05-25 13:30:17 -0400
9113460a3bFix 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
Pahimar
2016-05-25 13:25:52 -0400
41ae098cedFix bug where the exchange blacklist was being loaded with the values from the knowledge blacklist
Pahimar
2016-05-25 12:42:18 -0400
b76af2ea7fMove blacklist initialization to post init
Pahimar
2016-05-25 12:26:53 -0400
17b9b7d0e1Replace with new test file format
Pahimar
2016-05-25 11:29:54 -0400
b878506cf3Add some more log markers for tests
Pahimar
2016-05-25 11:29:18 -0400
b70bbe0e23More fixing of energy value tests
Pahimar
2016-05-25 11:17:10 -0400
7cace9895aChange location where EE3 looks for test files
Pahimar
2016-05-25 11:10:21 -0400
ba6841db98Formatting and reminders
Pahimar
2016-05-25 11:02:19 -0400
85f8d4bfa8Simplify the energy value test suite and remove more deprecated classes
Pahimar
2016-05-25 11:01:07 -0400
747f67f16fWhen a player blacklists an object by setting its emc value to 0, also update other players that the item is now blacklisted
Pahimar
2016-05-25 10:20:04 -0400
e9f834555fWhen ops make changes to the servers blacklist entries, the change is sent out to all currently logged in players so that they remain in sync with the servers entries.
Pahimar
2016-05-25 10:17:40 -0400
73fd3a4e28Added more NPE protection to BlacklistRegistry loading. Closes#1058
Pahimar
2016-05-25 09:56:42 -0400
0c5f1ccb41Remove an unnecessary old reference from MessageSetEnergyValue Stub out MessageSetBlacklistEntry for later development tomorrow
Pahimar
2016-05-24 23:28:04 -0400
568196aa9eFix required permissions level for the regen energy values command Change up the sync energy values command to be "push to all players" rather than "request a sync for the person running the command"
Pahimar
2016-05-24 23:17:26 -0400
30c0eb46b7Fix 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
Pahimar
2016-05-24 23:12:49 -0400
c179405dabFixed a bug where removing something from a blacklist didn't trigger a save, added some commands for adding/removing the currently held item to/from a blacklist, and changed the set energy commands to manage blacklist entries depending on values used (if the value is 0 then the item is blacklisted)
Pahimar
2016-05-24 14:58:56 -0400
2046edf3fbRewrote the Ability system to be what it was really trying to be, a blacklist registry. Also fixed writing the data to a global area, and made it one file per blacklist. Fixes#898 and #991
Pahimar
2016-05-23 17:47:31 -0400
160a923ef4Made sure parent directories are always created if needed on save
Pahimar
2016-05-23 09:29:21 -0400
4fac58d422Fixes meta on shift click, stll has the dupe exploit
Pahimar
2016-05-22 23:55:30 -0400
71ed8e2508Added a regen energy values command. It will reload values from file, recalculate energy values, then send the new values to everyone on the server
Pahimar
2016-05-22 13:59:05 -0400
a09dc48699Remove some localizations
Pahimar
2016-05-22 13:29:37 -0400
3290abb23eDeath to the old Transmutation Knowledge! Long live Player Knowledge!
Pahimar
2016-05-22 13:21:46 -0400
8d942d49d3Getting there with the new Player Knowledge system - just need to change how the Tome, Research Station, and Transmutation Tablet interact with the player knowledge
Pahimar
2016-05-21 22:55:14 -0400
1487490bf5That should do it for player knowledge related API changes. Loads of stuff in the old TransmutationKnowledgeRegistry are now deprecated.
Pahimar
2016-05-21 22:23:21 -0400
39448076b9More work on the new player knowledge system - getting close
Pahimar
2016-05-21 10:45:25 -0400
c79e76d8c1More work on the new player knowledge system - getting close
Pahimar
2016-05-21 10:44:51 -0400
b9d8e00f4bInvert some logic that was causing crashes when saving player knowledge to disk
Pahimar
2016-05-21 07:43:14 -0400
2b46fa82ebBetter protection of parsing values from json
Pahimar
2016-05-20 23:14:36 -0400
26d1e76fe1Better protection of parsing values from json
Pahimar
2016-05-20 23:12:40 -0400
bd4b5bf5eeBetter protection of parsing values from json
Pahimar
2016-05-20 23:07:28 -0400
28080229f7Better protection of parsing values from json
Pahimar
2016-05-20 23:05:57 -0400
c6d02aee9dMore work on the new player knowledge system
Pahimar
2016-05-20 22:55:49 -0400
3e0907fa3eWorking on the railroad, I mean the player knowledge system, all the live long day
Pahimar
2016-05-20 15:57:20 -0400
5f570fc576Better Singleton implementation of RecipeRegistry, and fix up the getStacksInRange to be more flexible about bounds
Pahimar
2016-05-20 13:56:53 -0400
10cde0e830Remove NEI Calcination handler related localizations
Pahimar
2016-05-20 13:56:04 -0400
dde11a8f04Remove the NEI Calcination handler - fixes#1047
Pahimar
2016-05-20 13:55:35 -0400
591a9ab2ebMore work on the new player knowledge system
Pahimar
2016-05-19 22:17:31 -0400
a7e85aba7bImprovements to the flud stack comparator, and fixed a missed case in the wrapped stack set comparator
Pahimar
2016-05-19 21:49:21 -0400
429a0fc51bMake 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)
Pahimar
2016-05-19 21:10:55 -0400
8d40883473Better NPE protection in serializing energy value maps
Pahimar
2016-05-19 20:03:29 -0400
43860832ffStart work on the new and improved PlayerKnowledge system
Pahimar
2016-05-19 15:55:14 -0400
b0544a00acClean up some ItemStack copying and fix incorrect stack size in log message
Pahimar
2016-05-19 15:54:59 -0400
0679af1993Switch to the proper location of the RecipeRegistryProxy
Pahimar
2016-05-19 15:53:50 -0400
cf78ff792aClean up some of the filtering - a lot of unnecessary repeated code removed
Pahimar
2016-05-19 15:17:56 -0400
d4bd9fca02Adding back deprecated API calls as I doubt modders will want to update in 1.7.10 anymore. Closes#1045
Pahimar
2016-05-19 09:58:16 -0400
e0e0aec1d6Force compiling against J8
Pahimar
2016-05-18 21:43:16 -0400
7ab8133cadSome liquid values are being calculated funny - more investigation needed
Pahimar
2016-05-18 21:18:48 -0400
f646d9bb14Fixed shift clicking in the Transmutation Tablet. Similiar solution to #1017 except that non-stackables can still be shift clicked out, and it respects the max stack size for the item being clicked out (rather than assuming max stack size is 64)
Pahimar
2016-05-18 21:18:24 -0400