Commit graph

8 commits

Author SHA1 Message Date
BruceChen
5f520e2cf4 Improve ReadBlockStatesField 2022-08-25 10:40:55 +08:00
BruceChen
58eafdfd5c Optimize cold start speed and block loading speed 2022-08-25 01:34:07 +08:00
BruceChen
01ef9a89ca Bug fix: Cancel chunk load task when switching worlds 2022-08-24 18:16:16 +08:00
BruceChen
357820e1c2 Fix bugs in gravity handle 2022-07-25 03:19:24 +08:00
BruceChen
f9bb74a8bd Implemented ChunkData packet process for 1.17/1.17.1 2022-07-23 22:34:16 +08:00
ORelio
aeca6a8f53 Add thead safety to terrain data (#1999)
Allow safely reading terrain data from other threads
2022-04-23 12:00:50 +02:00
ORelio
b99edee642 Fix index out of bound when height < 0 or > 255
Bug report by TNTUP, see #173
2016-07-22 23:47:36 +02:00
ORelio
cb00c28b6e 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
2015-11-30 15:30:49 +01:00