Commit graph

2095 commits

Author SHA1 Message Date
5e09684be3
feat: add minium stone block overlay 2023-01-03 18:46:26 +01:00
3345a53e9e
fix: incorrect build script 2023-01-03 18:07:26 +01:00
97a3dc12a6
chore: format code 2023-01-03 17:47:36 +01:00
a91efde028 chore: bump version 2022-12-17 22:22:12 +01:00
35b99ffa98 feat: damage stone on transmutation 2022-12-11 16:40:20 +01:00
a56eba3482 feat: use ProjectE EMC registry if installed 2022-12-02 12:36:58 +01:00
c4637fff54 feat: commit changes (might contain bugs) 2022-11-22 15:26:15 +01:00
Pahimar
8c3c9a6fde Fix logic derp in isLearnable/isExchangeable that was causing everything to be broken and on fire. Closes #1067
(cherry picked from commit 63ac5b0819c15d372eeb7082a2935a001d01c494)
2021-12-03 23:49:59 -06:00
Pahimar
39a3c8eef8 Change ItemTooltipEventHandler to be more specific about the energy value for an object and if it's not learnable/researchable
(cherry picked from commit 7d34112f0ad256ecd564c37763804f37e1d6ff63)
2021-12-03 23:49:58 -06:00
Pahimar
2aa81c0457 A more efficient way of doing the same check in the last commit
(cherry picked from commit f119a3a907070793be1e7b142be76706c32aa847)
2021-12-03 23:49:58 -06:00
Pahimar
e056caee88 Added 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

(cherry picked from commit 7ac01e09a6b37561c6bd2fc34fe1768f682cf0cd)
2021-12-03 23:49:58 -06:00
Pahimar
b3c2f63e2d Fix shift click bug
(cherry picked from commit 8f879ab79dd56dce75df85585e6e8f43e9f50450)
2021-12-03 23:49:58 -06:00
bombcar
f2e71ce87e it builds 2021-12-03 23:39:23 -06:00
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