mirror of
https://github.com/GTNewHorizons/BetterP2P.git
synced 2026-11-21 04:22:31 +00:00
Features: - New "refresh" capability (no button available yet) so the client can have an updated GUI. - The player can now control which types to be queried/displayed. A great number of changes were made to allow this to happen to the mod internally, as started from the last commit. - P2PCache has been revisited. Instead of being a one-time instantiation, the cache can now be queried from the client many times. - Network has changed. Instead of sending an ItemStack (as previously), we keep that info locally and send a byte only instead, so that should save some network traffic. - New packet for sending the refresh signal has been made. Other packets send a "type" discriminator to make way for the typing feature. Because I was lazy and didn't separate the commits, here are some other changes made: - Cleaned up a bit of the code to make it easier to read. This includes code I've written before... - Some name refactors. Some of the names were (mine) were quite frankly, bad. Signed-off-by: Firenoo <[email protected]>