1
0
Fork 0
cuberite-2a/src/Protocol
Tiger Wang 9b97d63f8f
Chest, weather, crash, and miscellaneous fixes (#5215)
* Alpha-sort cChestEntity

* Chests: use SendUpdateBlockEntity

* Pathfinder: fix out of range Y

* 1.13: correct weather packet ID

* Chests: fix neighbour scanner

+ Add OnAddToWorld and overload to scan neighbours there, instead of in the constructor/OnUse. This fixes hoppers accessing newly loaded double chests and seeing a null m_Neighbour, thus thinking its a single chest.
* Fix typo in cross coords computation.
* Simplify hopper logic.

* Block entities: ASSERT that type is correct

If you match the block type first before calling DoWithBlockEntity, the corresponding block entity must either be empty or correspond to the block type.

* Chunk: fix some forgotten PendingSendBE cleanup

+ Add cleanup in SetAllData, WriteBlockArea
- Remove RemoveBlockEntity (used once), HasBlockEntity (not used)

* Replace MakeIndex with MakeIndexNoCheck

* Remove extraneous MarkDirty in hopper & chests
2021-04-30 13:23:46 +00:00
..
Palettes Prepare for 1.15+ (#4856) 2020-12-21 13:54:04 +00:00
Authenticator.cpp Fix Windows XP to 7 compatibility (#5167) 2021-03-28 13:34:57 +01:00
Authenticator.h Using Super. 2020-04-16 20:07:48 +00:00
CMakeLists.txt 1.14 connection support 2020-07-26 18:55:16 +01:00
ChunkDataSerializer.cpp Mitigate MSVC crash (#5146) 2021-03-06 12:59:39 +00:00
ChunkDataSerializer.h Prepare ChunkData for BlockState storage (#5105) 2021-03-05 14:03:55 +01:00
ForgeHandshake.cpp zlib -> libdeflate (#5085) 2021-01-11 16:39:43 +00:00
ForgeHandshake.h zlib -> libdeflate (#5085) 2021-01-11 16:39:43 +00:00
MojangAPI.cpp Fix Windows XP to 7 compatibility (#5167) 2021-03-28 13:34:57 +01:00
MojangAPI.h Add cUUID class (#3871) 2017-08-25 13:43:18 +01:00
Packetizer.cpp Streamline player abilities handling 2021-04-12 22:35:07 +01:00
Packetizer.h zlib -> libdeflate (#5085) 2021-01-11 16:39:43 +00:00
Protocol.h More cProtocol cleanup 2021-04-12 22:35:07 +01:00
ProtocolRecognizer.cpp Do protocol decryption in-place (with CryptoAPI on Windows) (#5145) 2021-03-08 16:37:36 +00:00
ProtocolRecognizer.h Do protocol decryption in-place (with CryptoAPI on Windows) (#5145) 2021-03-08 16:37:36 +00:00
Protocol_1_8.cpp Chest, weather, crash, and miscellaneous fixes (#5215) 2021-04-30 13:23:46 +00:00
Protocol_1_8.h More cProtocol cleanup 2021-04-12 22:35:07 +01:00
Protocol_1_9.cpp More cProtocol cleanup 2021-04-12 22:35:07 +01:00
Protocol_1_9.h More cProtocol cleanup 2021-04-12 22:35:07 +01:00
Protocol_1_10.cpp More cProtocol cleanup 2021-04-12 22:35:07 +01:00
Protocol_1_10.h More cProtocol cleanup 2021-04-12 22:35:07 +01:00
Protocol_1_11.cpp Chest, weather, crash, and miscellaneous fixes (#5215) 2021-04-30 13:23:46 +00:00
Protocol_1_11.h More cProtocol cleanup 2021-04-12 22:35:07 +01:00
Protocol_1_12.cpp More cProtocol cleanup 2021-04-12 22:35:07 +01:00
Protocol_1_12.h More cProtocol cleanup 2021-04-12 22:35:07 +01:00
Protocol_1_13.cpp Chest, weather, crash, and miscellaneous fixes (#5215) 2021-04-30 13:23:46 +00:00
Protocol_1_13.h Chest, weather, crash, and miscellaneous fixes (#5215) 2021-04-30 13:23:46 +00:00
Protocol_1_14.cpp More cProtocol cleanup 2021-04-12 22:35:07 +01:00
Protocol_1_14.h More cProtocol cleanup 2021-04-12 22:35:07 +01:00
RecipeMapper.cpp Introduce recipe book functionality (#4493) 2020-07-14 17:56:42 +01:00
RecipeMapper.h Introduce recipe book functionality (#4493) 2020-07-14 17:56:42 +01:00