Commit graph

90 commits

Author SHA1 Message Date
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
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
1487490bf5 That should do it for player knowledge related API changes. Loads of stuff in the old TransmutationKnowledgeRegistry are now deprecated. 2016-05-21 22:23:21 -04:00
Pahimar
39448076b9 More work on the new player knowledge system - getting close 2016-05-21 10:45:25 -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
cf78ff792a Clean up some of the filtering - a lot of unnecessary repeated code removed 2016-05-19 15:17:56 -04:00
Pahimar
d4bd9fca02 Adding back deprecated API calls as I doubt modders will want to update in 1.7.10 anymore. Closes #1045 2016-05-19 09:58:16 -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
926ab181da Mama said save my work. I'm gonna save my work! 2016-05-16 22:02:23 -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
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
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
646e74e329 Yay test cases pass successfully! 2015-04-19 15:01:35 -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
91c6b6de6d Another whack of stuff with varying levels of won't break 2015-03-23 11:07:47 -04:00
Pahimar
2acc33b2b7 In an effort to reduce complexity, switch from multiple different energy values types to a single one 2015-03-22 16:52:48 -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
a530b67e91 Various states of working. Lots of things happening. 2015-02-25 00:03:59 -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
7c07144237 Get the Research Station learning things for players again 2015-02-16 13:09:03 -05:00
pahimar
4b2d489ba3 Add some null protection to the add/subtract methods in EnergyValue, and fix up the set-energy-value command to read/write files from the proper location 2015-02-13 00:14:57 -05:00
pahimar
334a92e54c Pretty big whack of stuff. Added a TransmutationKnowledgeRegistryProxy for API access to what players and the template know how to transmute. More robust serialization options for the AbilityRegistry. Added the ability to filter a given set of ItemStacks by their display name (starts with and contains). Added the ability to only load in Abilities from file on initial load of of a world (more control for map makers there) 2015-02-10 00:22:39 -05:00
pahimar
e8e18fede1 Work on serializing/deserializing abilities to disk (cause why not give map makers more power?) 2015-02-07 23:12:25 -05:00
pahimar
15fded2a64 More command stuff, ugh command stuff... 2015-02-05 23:06:53 -05:00
Pahimar
0d0fe18a9d Whole whackload of stuff. More to come in the morning Vike 2015-02-04 23:48:07 -05:00
pahimar
de22edc3eb Re-jigging how modders can set things as being learnable/not learnable, and recoverable/not recoverable 2015-02-02 23:12:08 -05:00
pahimar
d33c0acaef Big broken commit with a ton of stuff that got done/started in Newfoundland 2015-01-03 17:53:10 -05:00
Pahimar
a24c2c7f6c Changing up how glyphs are stored for alchemy arrays - this will make more sense soon 2014-10-23 16:28:31 -04:00
Pahimar
6fc59ede05 Lots of changes, things will likely not work for a bit - rethinking the structure of Alchemy Arrays 2014-10-21 15:59:00 -04:00
Pahimar
0ee2d07b3a Add in (working) validation in TileEntityAlchemyArray that all of the expected dummy blocks are where they should be and set correctly. Also added protection in ItemChalk to prevent Chalk from overwriting existing alchemy arrays 2014-10-17 21:32:35 -04:00
Pahimar
38e2f64022 More Glyph work, not much left in terms of placement/rendering/etc logic on the blocks themselves 2014-10-17 15:04:47 -04:00
Pahimar
5a73736076 More glyph work. Always glyph work. 2014-10-14 16:08:12 -04:00
Pahimar
75eeda6cf9 More glyph work 2014-10-10 14:54:07 -04:00
Pahimar
528e79ac1c Holy moley more glyph work 2014-10-09 16:13:06 -04:00
Pahimar
6e727a5a7f More glyph work 2014-10-07 16:20:41 -04:00
Pahimar
bce498695e More glyph stuff 2014-10-05 19:29:54 -04:00
Pahimar
b41d4bf055 Just a whack of work, nothing to see here 2014-10-03 15:55:22 -04:00
Pahimar
07fd936081 Getting ready for transmutation and alchemy squares 2014-09-16 22:58:54 -04:00
Pahimar
87ad5984c5 Added in support for reading in custom pre/post value assignments from json files. More coming documentation/command wise to support this 2014-09-12 16:11:18 -04:00
Pahimar
740c60763f Some more work on commands. Not long now and set-energy-value will be working and admins can change values on the fly :) 2014-09-09 15:59:07 -04:00