SuccessChanges

Summary

  1. Numerous fixes to entity related changes (commit: 9dc4d64) (details)
Commit 9dc4d6448bccc1989bf0f8bd0c0091df3fe9b909 by aikar
Numerous fixes to entity related changes
While it wasn't really "broken" before, if plugins use NMS
(which they really should't be) and mess with entity management
themselves, and get it wrong, they could ultimately corrupt our state
expectations.
I've been unable to reproduce any issues locally, but these changes are
the result of me analyzing the code pretty deeply and seeing about how
to make it more durable to abnormal usage.
Any servers seeing oddities, please run with -Ddebug.entities=true and
send me any logs triggered.
(commit: 9dc4d64)
The file was modifiedSpigot-Server-Patches/0298-Option-to-prevent-armor-stands-from-doing-entity-loo.patch (diff)
The file was modifiedSpigot-Server-Patches/0028-Lighting-Queue.patch (diff)
The file was modifiedSpigot-Server-Patches/0396-Optimize-redstone-algorithm.patch (diff)
The file was modifiedSpigot-Server-Patches/0136-Chunk-registration-fixes.patch (diff)
The file was modifiedSpigot-Server-Patches/0198-Fix-MC-117075-TE-Unload-Lag-Spike.patch (diff)
The file was modifiedSpigot-Server-Patches/0280-Avoid-Chunk-Lookups-for-Entity-TileEntity-Current-Ch.patch (diff)
The file was modifiedSpigot-Server-Patches/0300-Mark-chunk-dirty-anytime-entities-change-to-guarante.patch (diff)
The file was modifiedSpigot-Server-Patches/0279-InventoryCloseEvent-Reason-API.patch (diff)
The file was modifiedSpigot-Server-Patches/0008-Store-counts-for-each-Entity-Block-Entity-Type.patch (diff)
The file was modifiedSpigot-Server-Patches/0140-Option-to-remove-corrupt-tile-entities.patch (diff)
The file was modifiedSpigot-Server-Patches/0401-limit-the-range-at-which-we-ll-consider-an-attackabl.patch (diff)
The file was modifiedSpigot-Server-Patches/0056-Add-exception-reporting-event.patch (diff)
The file was modifiedSpigot-Server-Patches/0096-Don-t-spam-reload-spawn-chunks-in-nether-end.patch (diff)
The file was modifiedSpigot-Server-Patches/0299-Vanished-players-don-t-have-rights.patch (diff)
The file was modifiedSpigot-Server-Patches/0319-Entity-add-to-world-fixes.patch (diff)
The file was modifiedSpigot-Server-Patches/0009-Timings-v2.patch (diff)
The file was modifiedSpigot-Server-Patches/0094-Configurable-Keep-Spawn-Loaded-range-per-world.patch (diff)
The file was modifiedSpigot-Server-Patches/0330-Cache-World-Entity-Type-counts.patch (diff)
The file was modifiedSpigot-Server-Patches/0047-Avoid-hopper-searches-if-there-are-no-items.patch (diff)
The file was modifiedSpigot-Server-Patches/0100-Remove-unused-World-Tile-Entity-List.patch (diff)
The file was modifiedSpigot-Server-Patches/0080-Optimize-isValidLocation-getType-and-getBlockData-fo.patch (diff)
The file was modifiedSpigot-Server-Patches/0123-Delay-Chunk-Unloads-based-on-Player-Movement.patch (diff)
The file was modifiedSpigot-Server-Patches/0364-Optimize-Light-Recalculations.patch (diff)
The file was modifiedSpigot-Server-Patches/0301-Add-some-Debug-to-Chunk-Entity-slices.patch (diff)
The file was modifiedSpigot-Server-Patches/0007-Store-reference-to-current-Chunk-for-Entity-and-Bloc.patch (diff)
The file was modifiedSpigot-Server-Patches/0019-Remove-invalid-mob-spawner-tile-entities.patch (diff)
The file was modifiedSpigot-Server-Patches/0365-Fix-issues-with-entity-loss-due-to-unloaded-chunks.patch (diff)
The file was modifiedSpigot-Server-Patches/0307-Always-process-chunk-removal-in-removeEntity.patch (diff)
The file was modifiedSpigot-Server-Patches/0313-World-EntityHuman-Lookup-Optimizations.patch (diff)
The file was modifiedSpigot-Server-Patches/0342-Optimize-getChunkIfLoaded-type-calls.patch (diff)
The file was modifiedSpigot-Server-Patches/0367-Fix-Sending-Chunks-to-Client.patch (diff)
The file was modifiedSpigot-Server-Patches/0052-Change-implementation-of-tile-entity-removal-list.patch (diff)
The file was modifiedSpigot-Server-Patches/0308-Ignore-Dead-Entities-in-entityList-iteration.patch (diff)