Commit graph

75 commits

Author SHA1 Message Date
LordMZTE 97a3dc12a6
chore: format code 2023-01-03 17:47:36 +01:00
Pahimar 30ec9ab327 Integrating CommandEE piece of #881 2016-05-28 09:12:27 -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 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 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 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 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 3290abb23e Death to the old Transmutation Knowledge! Long live Player Knowledge! 2016-05-22 13:21:46 -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 766d277070 Remove bugged/unimplemented command. Fixes #1049 2016-05-20 13:49:17 -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 63c22f9255 Save often so you don't lose your work! 2016-05-16 15:06:40 -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 35841c20ae Lots more Marker usage, for much better logging options (making my dev life so so so much easier) 2015-11-19 15:24:40 -05:00
Pahimar e4c6183083 A lot of various things done, including fixing derpy bounding boxes/etc 2015-06-09 23:25:40 -04:00
Pahimar e6faf84072 Fixes #902 2015-06-03 21:13:50 -04:00
Pahimar a6b06b50ae Fixes #896 2015-05-29 21:56:13 -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 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 c925c45a79 Fixes #795 2015-05-02 20:12:24 -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 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 4b4abb84f1 Adding five more commands to simplifying operations involving items 2015-02-18 10:47:59 -05:00
Pahimar 7afcdf8d9a More work on getting the Alchemical Tome working properly 2015-02-18 10:11:06 -05:00
pahimar 584a499892 Fix up the set-energy-value command to read/write files from the proper location 2015-02-13 00:18:01 -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 998bd5fe3e When abilities are modified via command, save the change to disk 2015-02-09 21:54:02 -05:00
pahimar 100d2e7208 Add in messages for when a player specified in the command arguments does not exist on the server currently 2015-02-07 17:22:25 -05:00
pahimar 08553d57a8 Commands to set things as being learnable/not-learnable for transmutations, and for allowing/disallowing the recovery of somethings energy value 2015-02-07 12:22:03 -05:00
pahimar 15fded2a64 More command stuff, ugh command stuff... 2015-02-05 23:06:53 -05:00
Pahimar 5c8c98b46d Made player-learn-everything and player-learn-item commands work 2015-02-05 21:57:46 -05:00
Pahimar f302ac3fcb Made template-learn-everything, template-learn-item, template-forget-everything, template-forget-item work 2015-02-05 21:50:52 -05:00
Pahimar ca4bef505f Rename method names because OCD 2015-02-05 21:20:27 -05:00
Pahimar 927facc9fa More command auto completion stuff! 2015-02-05 21:03:08 -05:00
Pahimar 0ee0ac5995 Get tab auto completion suggestions working for some more commands 2015-02-05 20:52:12 -05:00
Pahimar fdd4d6162b Make the template-forget-everything command work 2015-02-05 20:39:33 -05:00