Special thanks to @TheSnoozer and @vkorn for their help!
- Implement global block Palette mechanism
- Add class generation tool from blocks.json
- Regenerate Material.cs and redefine solid blocks
- Migrate previous Material.cs into Palette112
- Generate Palette113 from MC 1.13.2 blocks.json
- Improve Block class to handle up to 65535 block states
- Adjust terrain parsing, small fixes in packets
- Remove unused snapshot-related protocol cases
Solves #599
If a custom regex is defined in config, process it first.
Previous behavior was to process builtins first.
Should reduce issues with custom regex and builtins=true
Increase the time of the fast srvrecord setting from 5 to 10 seconds. As of now the method gets timed out before actually completing/attempting the Protocol18 DoPing.
Had 2 versions of the ConsoleIO class, one here inc MCC (the original),
and another one in SharpTools, more generic, for use in other projects.
Both had diverged, this commit imports changes from the other repository.
This should not have any particular effect on MCC, besides adding more
documentation and settings in the source code of the class.
If any issue arises, as always, please report it :)
- Change SessionCache.db to SessionCache.ini
Allows users to view and edit session cache
- Automatically import previous SessionCache.db
But this file is only read, not updated
- Automatically import Minecraft session
If you are logged in in Minecraft, no need to login again
This is only done if Disk session cache is enabled
See #232 and #430 for more information
- Disk session cache becomes default
The feature is no longer experimental and now recommended
as the Mojang login servers now have a severe rate limit
Previous default was Memory session cache, not saved to disk
When the Mojang API responds with "Invalid username or password", this may
also be caused by IP blacklisting (too many logins or using a proxy/vps)
See #422#415#406#394#366#359#353#279#271#232 ...
Unicode characters are becoming quite common within minecraft servers (especially the large ones) nowadays. As of now MCC creates a System beep every single time one of these characters are processed by ConsoleIO.
I'm no expert in C#, so I'm unsure if ANSI is required for anything, but I've been perfectly find with UTF-8 so far.
This adds support for Minecraft 1.12's protocol, and also abstracts out outgoing packet IDs. I include packet IDs for some 1.12 snapshots, even though snapshot versions aren't supported, because I already had written the code (though in a far more messy variant) for my MC-106551 test script; while they won't be used right now, they may be useful if snapshots are ever formally supported in the future.