Add world handling (and fall to ground)

- World is now properly parsed and stored from chunk data
- Block changes are also handled and world updated accordingly
- Added ground checking, the player will move down to reach the ground
- Performance tweaking in Protocol18, using lists instead of arrays
- Fix player look not properly skipped causing invalid location after
teleport
This commit is contained in:
ORelio 2015-11-30 15:30:49 +01:00
parent 2e4544fc5a
commit cb00c28b6e
10 changed files with 661 additions and 91 deletions

View file

@ -24,6 +24,7 @@ namespace MinecraftClient.Protocol
string GetSessionID();
string[] GetOnlinePlayers();
Location GetCurrentLocation();
World GetWorld();
/// <summary>
/// Called when a server was successfully joined