1
0
Fork 0
cuberite-2a/src/WorldStorage
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
..
CMakeLists.txt Add Statistics and Achievements for newer Network standards 2020-08-19 20:45:27 +01:00
EnchantmentSerializer.cpp Force all headers other than "Globals.h" to be included with relative paths (#4269) 2018-08-29 01:51:25 +01:00
EnchantmentSerializer.h Bulk clearing of whitespace 2016-02-05 23:50:18 +02:00
FastNBT.cpp Prepare ChunkData for BlockState storage (#5105) 2021-03-05 14:03:55 +01:00
FastNBT.h Prepare ChunkData for BlockState storage (#5105) 2021-03-05 14:03:55 +01:00
FireworksSerializer.cpp zlib -> libdeflate (#5085) 2021-01-11 16:39:43 +00:00
FireworksSerializer.h Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) 2020-04-03 08:57:01 +02:00
MapSerializer.cpp Fix debug macro situation (#5114) 2021-01-26 09:41:55 +00:00
MapSerializer.h CheckBasicStyle: checks spaces around * and &. 2015-05-09 12:58:55 +02:00
NBTChunkSerializer.cpp Fix sending incorrect date values on world change 2021-04-12 22:35:07 +01:00
NBTChunkSerializer.h zlib -> libdeflate (#5085) 2021-01-11 16:39:43 +00:00
NamespaceSerializer.cpp Fix incorrect name in deserialiser for zombie pigmen 2021-04-12 22:35:07 +01:00
NamespaceSerializer.h Adding basic Banner functionality (#4806) 2021-03-15 02:47:55 +00:00
SchematicFileSerializer.cpp zlib -> libdeflate (#5085) 2021-01-11 16:39:43 +00:00
SchematicFileSerializer.h zlib -> libdeflate (#5085) 2021-01-11 16:39:43 +00:00
ScoreboardSerializer.cpp Fix debug macro situation (#5114) 2021-01-26 09:41:55 +00:00
ScoreboardSerializer.h Unified the doxy-comment format. 2015-07-31 16:49:10 +02:00
StatSerializer.cpp Warnings improvements 2020-12-18 21:03:40 +00:00
StatSerializer.h StatSerializer: use std::move 2020-08-21 18:15:34 +01:00
WSSAnvil.cpp Chest, weather, crash, and miscellaneous fixes (#5215) 2021-04-30 13:23:46 +00:00
WSSAnvil.h Adding basic Banner functionality (#4806) 2021-03-15 02:47:55 +00:00
WorldStorage.cpp Fix Windows XP to 7 compatibility (#5167) 2021-03-28 13:34:57 +01:00
WorldStorage.h Update comments and code for Load/SaveOneChunk so they match (#4992) 2020-10-11 16:14:43 +00:00