Commit graph

2082 commits

Author SHA1 Message Date
bombcar 4b21a46b49 try to build 2021-12-03 23:37:08 -06:00
Pahimar 3aaf0c94b7 Marking for release 2016-05-31 10:43:57 -04:00
Pahimar 9e1324d391 JavaDoc reminder for the future 2016-05-31 10:42:26 -04:00
Pahimar 14d3be3276 Fix shift clicking 2016-05-31 09:52:54 -04:00
Pahimar d7c0cc5155 Fix derp in logging statement formatting 2016-05-30 15:55:45 -04:00
Pahimar a8b2bab425 Well intentioned, unnecessarily complicated 2016-05-30 15:55:33 -04:00
Pahimar 4582db54b8 Implement PR #881, not a complete solution to the transmutation tablet sync issue but its a good chunk of the solution 2016-05-30 10:53:39 -04:00
Pahimar fb355b72fe I really need two monitors to properly examine how this PR works and what changes I want/should make to it. Continuing tomorrow. 2016-05-29 22:10:32 -04:00
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 c36adabdee Reduce the number of calls to getEnergyValueForStack 2016-05-28 14:55:57 -04:00
Pahimar b083b0a73e Simplify logic statement 2016-05-28 09:51:46 -04:00
Pahimar 30ec9ab327 Integrating CommandEE piece of #881 2016-05-28 09:12:27 -04:00
Pahimar 9e7f1cc910 NPE protection in the charge/tool modes 2016-05-28 08:53:01 -04:00
Pahimar 7966625965 Some extra NPE protection for people that may try to use the Blacklist Registry before EE3 gets to it's preinit phase 2016-05-28 08:23:31 -04:00
Pahimar d4ed4bbacb Rearrange some of the configuration options 2016-05-27 22:37:19 -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 6d2e1337b1 Refactor 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.
2016-05-27 11:10:38 -04:00
Pahimar 43a384a2e6 Change how the we get the transparency value for rendering a pulsing quad as per @tterag1098's suggestion (https://github.com/pahimar/Equivalent-Exchange-3/issues/1054#issuecomment-220881225) 2016-05-27 09:19:40 -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 79bf272f28 Fix a rather insidious bug in the wrapped stack comparator that was causing incorrect energy values to be computed 2016-05-26 16:04:04 -04:00
Pahimar 22337f0bbc Move away from System.currentTimeMillis to System.nanoTime (more accurate, less costly) 2016-05-26 16:03:40 -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 c4f3039e60 Switch to proper API location for the recipe registry proxy 2016-05-26 16:01:45 -04:00
Pahimar f41b0279a6 Added 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.
2016-05-26 12:02:37 -04:00
Pahimar 9112666443 Remove unnecessary second load 2016-05-25 14:27:14 -04:00
Pahimar cd7d965000 Change the tooltip to show No Exchange Energy in the event an item is blacklisted from being learned and from being exchanged (effectively no value) 2016-05-25 13:30:17 -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 41ae098ced Fix bug where the exchange blacklist was being loaded with the values from the knowledge blacklist 2016-05-25 12:42:18 -04:00
Pahimar b76af2ea7f Move blacklist initialization to post init 2016-05-25 12:26:53 -04:00
Pahimar 17b9b7d0e1 Replace with new test file format 2016-05-25 11:29:54 -04:00
Pahimar b878506cf3 Add some more log markers for tests 2016-05-25 11:29:18 -04:00
Pahimar b70bbe0e23 More fixing of energy value tests 2016-05-25 11:17:10 -04:00
Pahimar 7cace9895a Change location where EE3 looks for test files 2016-05-25 11:10:21 -04:00
Pahimar ba6841db98 Formatting and reminders 2016-05-25 11:02:19 -04:00
Pahimar 85f8d4bfa8 Simplify the energy value test suite and remove more deprecated classes 2016-05-25 11:01:07 -04:00
Pahimar 747f67f16f When a player blacklists an object by setting its emc value to 0, also update other players that the item is now blacklisted 2016-05-25 10:20:04 -04:00
Pahimar e9f834555f When 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. 2016-05-25 10:17:40 -04:00
Pahimar 73fd3a4e28 Added more NPE protection to BlacklistRegistry loading. Closes #1058 2016-05-25 09:56:42 -04:00
Pahimar 0c5f1ccb41 Remove an unnecessary old reference from MessageSetEnergyValue
Stub out MessageSetBlacklistEntry for later development tomorrow
2016-05-24 23:28:04 -04:00
Pahimar 568196aa9e Fix 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"
2016-05-24 23:17:26 -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 c179405dab Fixed 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) 2016-05-24 14:58:56 -04:00
Pahimar 2046edf3fb Rewrote 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 2016-05-23 17:47:31 -04:00
Pahimar 160a923ef4 Made sure parent directories are always created if needed on save 2016-05-23 09:29:21 -04:00
Pahimar 4fac58d422 Fixes meta on shift click, stll has the dupe exploit 2016-05-22 23:55:30 -04:00
Pahimar 2bed1e81ac Closes #1055 2016-05-22 23:28:30 -04:00
Pahimar 71ed8e2508 Added a regen energy values command. It will reload values from file, recalculate energy values, then send the new values to everyone on the server 2016-05-22 13:59:05 -04:00
Pahimar a09dc48699 Remove some localizations 2016-05-22 13:29:37 -04:00
Pahimar 3290abb23e Death to the old Transmutation Knowledge! Long live Player Knowledge! 2016-05-22 13:21:46 -04:00