Commit graph

13 commits

Author SHA1 Message Date
97a3dc12a6
chore: format code 2023-01-03 17:47:36 +01: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
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
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
2569e1db9a Death to the old energy value registry - long live the new one! 2016-05-18 13:53:13 -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
e6faf84072 Fixes #902 2015-06-03 21:13:50 -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
646e74e329 Yay test cases pass successfully! 2015-04-19 15:01:35 -04: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