Commit graph

51 commits

Author SHA1 Message Date
LordMZTE 97a3dc12a6
chore: format code 2023-01-03 17:47:36 +01: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 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 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 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 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 8d942d49d3 Getting there with the new Player Knowledge system - just need to change how the Tome, Research Station, and Transmutation Tablet interact with the player knowledge 2016-05-21 22:55:14 -04:00
Pahimar cfe08dffae Hey working on a super cool new Admin Panel to make it way easier to set EE3 related values/settings on items. Woo! 2015-11-27 23:07:45 -05:00
pahimar 15180e406b Prevent damaged itemstacks from being learnable, and add a tooltip in the Research Station GUI to tell if you already know how to transmute an itemstack 2015-05-07 16:18:12 -04:00
pahimar a46b8db610 Prelim API changes 2015-05-07 13:45:06 -04:00
pahimar dd69c6ced7 Hide some stuff in NEI that shouldn't display, and always display EMC values in the Transmutation Tablet GUI (Closes #790) 2015-05-02 20:36:26 -04:00
pahimar 646e74e329 Yay test cases pass successfully! 2015-04-19 15:01:35 -04:00
pahimar bb7b40c8bb Should fix #790 I think 2015-04-06 08:20:28 -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 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 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 051fc7f929 Hunk of stuff in various states of things 2015-02-17 20:05:18 -05:00
Pahimar 07fd936081 Getting ready for transmutation and alchemy squares 2014-09-16 22:58:54 -04:00
Pahimar 4372294d61 Added in some debug configuration for helping mods interacting with EE3 (more debug options to come as API matures) 2014-07-24 22:03:36 -04:00
Pahimar ed2be79ec2 Some work on skills 2014-07-24 21:05:04 -04:00
Pahimar 24a2ae35bc Move some interfaces into the util package
Remove the client configuration
Work on configuration
Implement bspkrs graphical configuration system
2014-07-18 15:55:10 -04:00
Pahimar 85e1a62c5a Commiting a chunk of code 2014-07-15 12:24:18 -04:00
Pahimar 03e0897c15 Rework the EnergyValueRegistry to be more friendly with the API 2014-07-13 22:05:27 -04:00
Pahimar 0a38400559 Remove the concept of EnergyComponents and set it so that an EnergyValue is only of one EnergyType (simplifies a lot of things) 2014-07-10 16:05:14 -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 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 4410c25bd6 Don't be scared - it's easier to start from the bottom. There's also still the MC 1.6.4 branch :) 2014-03-28 15:54:15 -04:00
pahimar 059d9614c1 Another pass at the 1.7 update - more to come tomorrow 2014-03-27 22:21:21 -04:00
pahimar 9f56070058 First initial pass of 1.7 update 2014-03-27 21:34:47 -04:00
pahimar 31aff45a72 Getting close with bags! 2014-03-26 21:01:54 -04:00
pahimar c3dd664629 Some more work on alchemical bag inventories 2014-03-25 21:59:36 -04:00
pahimar 566ef37060 Break out single item stack sizes from stack sizes > 1 2014-02-12 19:11:28 -05:00
pahimar 96e88d40d5 Fixes #632 2014-02-12 19:08:48 -05:00
pahimar 6cf9c0c20b Fixes #632 2014-02-12 18:47:56 -05:00
pahimar e8b63a28d6 RecipeAludel now supports OreDictionary input stacks. Also, added grouping (non-localized) to the EMC tooltip 2014-02-01 12:02:30 -05:00
pahimar 9602bbf353 Aludel work 2014-01-07 18:42:29 -05:00
ganymedes01 cca58c6797 Change event priority for tooltip event
Makes sure the event is called after (as much as possible of course) all other tool tip events, so that the EMC value is always the last thing on the item tool tip and avoids it ending up in between the tooltips added by two different mods.
2014-01-06 16:56:17 +00:00
pahimar 2ad08cbdc5 Some very experimental stuff with "infused" blocks 2014-01-04 12:53:23 -05:00
pahimar ad6e7f3f3a Keybinding optimization 2014-01-02 21:33:04 -05:00
pahimar eb9205f189 Changing up how the EMC overlay works 2014-01-02 20:54:54 -05:00
pahimar 8b17f1fa26 Playing around with some stuff 2014-01-01 18:18:59 -05:00
pahimar 4abd5b121a Reverting out last MCPC+ bugfix changes - looks like the bug is best resolved on MCPC+'s side (marking ItemStack.EntityItemFrame as transient, and so preventing gson'd ItemStacks from overflowing the stack) 2013-12-31 03:42:32 -05:00
pahimar 4caf4e1237 Another attempt at the MCPC+ bug 2013-12-31 03:23:06 -05:00
pahimar 66b2cfcfc0 Taking this to extremes to test this damned NEI + EE3 "bug" 2013-12-30 22:58:17 -05:00
pahimar f9ef8c92bc Remember to turn them off Pahimar, sheesh 2013-12-30 22:34:19 -05:00
pahimar 927bce7c28 Testing to see if tooltips are the cause of the EE3 + NEI "lag" 2013-12-30 22:33:15 -05:00