World.cs GetBlock() was calling the wrong one (id+meta),
causing InvalidOperationException when global Palette
does not support setting metadata. See #716
Minecraft 1.14 is now fully supported.
- Implement NBT parsing to skip NBT field in chunk data
- Update lighting data format in Chunk Data parsing
- Move Chunk Data parsing into Protocol18Terrain.cs
- Improve PaletteGenerator to greatly reduce palette files sizes
- Re-Generate Palette113.cs to reduce its size (378 Kib -> 50 Kib)
- Generate Palette114.cs (57 Kib instead of 516 Kib with prev format)
- Update Material.cs and MaterialExtensions.cs for new block types
- Protocol18: Handles Vanilla packets
- Protocol18Forge: Handles Forge packets
- DataTypes: Handles packet field encoding/decoding
- SocketWrapper: Handles encryption and basic R/W operations
This commit should not change anything for end users, only devs.
See also #704 for discussions about this.
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
Due to no longer having time to implement upgrades for new Minecraft versions and fixing bugs, I'm looking for motivated people to take over the project. If you feel like it could be you, please have a look at the GitHub repo Issues section :)
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 ...