1
0
Fork 0
cuberite-2a/src/Mobs
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
..
AggressiveMonster.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
AggressiveMonster.h Update entity sizes 2021-04-12 22:35:07 +01:00
Bat.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Bat.h Using Super. 2020-04-16 20:07:48 +00:00
Blaze.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Blaze.h Using Super. 2020-04-16 20:07:48 +00:00
CMakeLists.txt Adding Silverfish Spawning Blocks (#4946) 2020-10-11 15:27:41 +00:00
CaveSpider.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
CaveSpider.h Using Super. 2020-04-16 20:07:48 +00:00
Chicken.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Chicken.h Using Super. 2020-04-16 20:07:48 +00:00
Cow.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Cow.h Using Super. 2020-04-16 20:07:48 +00:00
Creeper.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Creeper.h Using Super. 2020-04-16 20:07:48 +00:00
EnderDragon.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
EnderDragon.h Adding Boss bar (#5025) 2021-03-05 15:08:30 +00:00
Enderman.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Enderman.h Improve Enderman targeting 2020-12-21 13:52:23 +00:00
Ghast.cpp Replaced cpp14::make_unique<> with std::make_unique<>. 2020-08-01 20:04:31 +01:00
Ghast.h Using Super. 2020-04-16 20:07:48 +00:00
Giant.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Giant.h Using Super. 2020-04-16 20:07:48 +00:00
Guardian.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Guardian.h Using Super. 2020-04-16 20:07:48 +00:00
Horse.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Horse.h Fix potential destruction crashes (#5095) 2021-01-02 13:50:34 +00:00
IncludeAllMonsters.h Add Zombie Villagers 2020-04-10 00:50:45 +01:00
IronGolem.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
IronGolem.h Using Super. 2020-04-16 20:07:48 +00:00
MagmaCube.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
MagmaCube.h Using Super. 2020-04-16 20:07:48 +00:00
Monster.cpp Unify multiprotocol entity animations 2021-04-12 22:35:07 +01:00
Monster.h Update entity sizes 2021-04-12 22:35:07 +01:00
MonsterTypes.h Adding new monster types to enum and saving/loading for easier future implementation (#4941) 2020-11-22 23:41:13 +00:00
Mooshroom.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Mooshroom.h Using Super. 2020-04-16 20:07:48 +00:00
Ocelot.cpp Unify multiprotocol entity animations 2021-04-12 22:35:07 +01:00
Ocelot.h Using Super. 2020-04-16 20:07:48 +00:00
PassiveAggressiveMonster.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
PassiveAggressiveMonster.h Update entity sizes 2021-04-12 22:35:07 +01:00
PassiveMonster.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
PassiveMonster.h Update entity sizes 2021-04-12 22:35:07 +01:00
Path.cpp Unify DoWithBlockEntity (#5168) 2021-03-28 14:40:57 +01:00
Path.h Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885) 2020-09-25 09:13:59 +00:00
PathFinder.cpp Chest, weather, crash, and miscellaneous fixes (#5215) 2021-04-30 13:23:46 +00:00
PathFinder.h Update entity sizes 2021-04-12 22:35:07 +01:00
Pig.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Pig.h Using Super. 2020-04-16 20:07:48 +00:00
Rabbit.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Rabbit.h Using Super. 2020-04-16 20:07:48 +00:00
Sheep.cpp Unify multiprotocol entity animations 2021-04-12 22:35:07 +01:00
Sheep.h Adding wolf breading and moving breeding functionality to cMonster (#4951) 2020-10-09 20:49:25 +00:00
Silverfish.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Silverfish.h Update entity sizes 2021-04-12 22:35:07 +01:00
Skeleton.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Skeleton.h Using Super. 2020-04-16 20:07:48 +00:00
Slime.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Slime.h Using Super. 2020-04-16 20:07:48 +00:00
SnowGolem.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
SnowGolem.h Using Super. 2020-04-16 20:07:48 +00:00
Spider.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Spider.h Using Super. 2020-04-16 20:07:48 +00:00
Squid.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Squid.h Using Super. 2020-04-16 20:07:48 +00:00
Villager.cpp Unify multiprotocol entity animations 2021-04-12 22:35:07 +01:00
Villager.h Using Super. 2020-04-16 20:07:48 +00:00
Witch.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Witch.h Using Super. 2020-04-16 20:07:48 +00:00
Wither.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Wither.h Adding Boss bar (#5025) 2021-03-05 15:08:30 +00:00
WitherSkeleton.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
WitherSkeleton.h Using Super. 2020-04-16 20:07:48 +00:00
Wolf.cpp Unify multiprotocol entity animations 2021-04-12 22:35:07 +01:00
Wolf.h Adding wolf breading and moving breeding functionality to cMonster (#4951) 2020-10-09 20:49:25 +00:00
Zombie.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
Zombie.h Using Super. 2020-04-16 20:07:48 +00:00
ZombiePigman.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
ZombiePigman.h Using Super. 2020-04-16 20:07:48 +00:00
ZombieVillager.cpp Update entity sizes 2021-04-12 22:35:07 +01:00
ZombieVillager.h Using Super. 2020-04-16 20:07:48 +00:00