Paper/Spigot-Server-Patches
Aikar e56bbcdcda Refactor Lighting Queue System
may help #284

Cleans up the lighting queue system, reducing diff and improving implementation.

We no longer stop chunk unloads due to lighting updates, and instead simply flush the lighting queue.
The cost of forcing the chunk (and its neighbors!) to stay loaded waiting for its
lighting work to finish is much greater than simply taking the hit and doing the work.

This change also helps reduce the diff and avoid bugs with missed diffs by removing
duplicated logic.

Also switches to a more effecient data structure (ArrayDeque instead of LinkedList) for the queue itself.
2016-05-15 18:48:39 -04:00
..
0001-POM-Changes.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0002-Paper-config-files.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0003-MC-Dev-fixes.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0004-MC-Utils.patch More cases of avoiding marking active for chunks, to stop potential leaks 2016-05-13 22:27:20 -04:00
0005-Timings-v2.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0006-Vanished-players-don-t-have-rights.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0007-Configurable-squid-spawn-ranges.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0008-Configurable-cactus-and-reed-natural-growth-heights.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0009-Configurable-baby-zombie-movement-speed.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0010-Configurable-fishing-time-ranges.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0011-Allow-nerfed-mobs-to-jump.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0012-Toggle-for-player-interact-limiter.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0013-Player-Exhaustion-Multipliers.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0014-Add-configurable-despawn-distances-for-living-entiti.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0015-Allow-for-toggling-of-spawn-chunks.patch Add MCUtils helper 2016-03-28 21:01:42 -04:00
0016-Drop-falling-block-and-tnt-entities-at-the-specified.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0017-Configurable-speed-for-water-flowing-over-lava.patch Add MCUtils helper 2016-03-28 21:01:42 -04:00
0018-Show-Paper-in-client-crashes-server-lists-and-Mojang.patch Make watchdoge disabler its own patch file 2016-05-12 23:05:46 -05:00
0019-Player-affects-spawning-API.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0020-Metrics.patch Add MCUtils helper 2016-03-28 21:01:42 -04:00
0021-Remove-invalid-mob-spawner-tile-entities.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0022-Optimize-TileEntity-Ticking.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0023-Further-improve-server-tick-loop.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0024-Only-refresh-abilities-if-needed.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0025-Add-async-chunk-load-API.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0026-Entity-Origin-API.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0027-Prevent-tile-entity-and-entity-crashes.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0028-Configurable-top-of-nether-void-damage.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0029-Check-online-mode-before-converting-and-renaming-pla.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0030-Always-tick-falling-blocks.patch Paper 1.9.2 Update 2016-03-30 20:50:23 -04:00
0031-Lighting-Queue.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0032-Optimize-draining.patch Paper 1.9.2 Update 2016-03-30 20:50:23 -04:00
0033-Configurable-end-credits.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0034-Fix-lag-from-explosions-processing-dead-entities.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0035-Generator-Settings.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0036-Optimize-explosions.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0037-Stop-updating-flowing-block-if-material-has-changed.patch Paper 1.9.2 Update 2016-03-30 20:50:23 -04:00
0038-Fast-draining.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0039-Configurable-lava-flow-speed.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0040-Add-player-view-distance-API.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0041-Disable-explosion-knockback.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0042-Disable-thunder.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0043-Disable-ice-and-snow.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0044-Configurable-mob-spawner-tick-rate.patch Missed diff, unused config entry, general cleanup 2016-03-30 22:56:30 -05:00
0045-Send-absolute-position-the-first-time-an-entity-is-s.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0046-Add-BeaconEffectEvent.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0047-Configurable-container-update-tick-rate.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0048-Fix-lava-water-some-times-creating-air-instead-of-co.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0049-Use-UserCache-for-player-heads.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0050-Disable-spigot-tick-limiters.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0051-Configurable-Chunk-IO-Thread-Base-Count.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0052-Don-t-create-Region-File-s-when-checking-if-chunk-ex.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0053-Don-t-create-a-chunk-just-to-unload-it.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0054-Add-PlayerInitialSpawnEvent.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0055-Disable-chest-cat-detection.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0056-Ensure-commands-are-not-ran-async.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0057-All-chunks-are-slime-spawn-chunks-toggle.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0058-Add-Location-support-to-tab-completers-vanilla-featu.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0059-Optimize-Pathfinding.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0060-Optimize-getBlockData.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0061-Avoid-hopper-searches-if-there-are-no-items.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0062-Expose-server-CommandMap.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0063-Be-a-bit-more-informative-in-maxHealth-exception.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0064-Graduate-bungeecord-chat-API-from-spigot-subclasses.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0065-Player-Tab-List-and-Title-APIs.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0066-Ensure-inv-drag-is-in-bounds.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0067-Change-implementation-of-tile-entity-removal-list.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0068-Add-configurable-portal-search-radius.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0069-Add-velocity-warnings.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0070-Fix-inter-world-teleportation-glitches.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0071-Add-exception-reporting-event.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0072-Don-t-nest-if-we-don-t-need-to-when-cerealising-text.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0073-Disable-Scoreboards-for-non-players-by-default.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0074-Add-methods-for-working-with-arrows-stuck-in-living-.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0075-Complete-resource-pack-API.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0076-Re-add-Spigot-s-hopper-check-feature.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0077-Chunk-save-queue-improvements.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0078-Chunk-Save-Reattempt.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0079-Default-loading-permissions.yml-before-plugins.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0080-Allow-Reloading-of-Custom-Permissions.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0081-Remove-Metadata-on-reload.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0082-Undead-horse-leashing.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0083-Fix-Furnace-cook-time-bug.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0084-Handle-Item-Meta-Inconsistencies.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0085-Configurable-Non-Player-Arrow-Despawn-Rate.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0086-Add-World-Util-Methods.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0087-Optimized-Light-Level-Comparisons.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0088-Pass-world-to-Village-creation.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0089-Custom-replacement-for-eaten-items.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0090-Set-health-before-death-event.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0091-handle-NaN-health-absorb-values-and-repair-bad-data.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0092-Catch-Async-PlayerChunkMap-operations.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0093-Support-offline-mode-in-whitelist-command-as-well.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0094-Fix-SkullCache-case-bug.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0095-Waving-banner-workaround.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0096-Use-a-Shared-Random-for-Entities.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0097-Don-t-teleport-dead-entities.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0098-Optimize-Chunk-Access.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0099-Configurable-spawn-chances-for-skeleton-horses.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0100-Optimize-isValidLocation-for-inlining.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0101-Use-correct-item-in-arrow-pickup-event.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0102-Fix-cooked-fish-legacy-import.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0103-Prevent-possible-infinite-loop-in-BlockPosition-iter.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0104-Access-items-by-EquipmentSlot.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0105-Check-async-remove-unused-vars-GH-159.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0106-Option-to-disable-BlockPhysicsEvent-for-Redstone.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0107-Entity-AddTo-RemoveFrom-World-Events.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0108-Configurable-Chunk-Inhabited-Timer.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0109-EntityPathfindEvent.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0110-Prevent-Waterflow-BlockFromToEvent-from-loading-chun.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0111-Minecart-drop-name-workaround.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0112-Reduce-IO-ops-opening-a-new-region-file.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0113-Sanitise-RegionFileCache-and-make-configurable.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0114-Add-getEntity-by-UUID-API.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0115-Use-Optimized-Collections.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0116-Do-not-load-chunks-for-light-checks.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0117-Add-PlayerUseUnknownEntityEvent.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0118-Fix-reducedDebugInfo-not-initialized-on-client.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0119-Configurable-Grass-Spread-Tick-Rate.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0120-Configurable-Keep-Spawn-Loaded-range-per-world.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0121-Fix-Cancelling-BlockPlaceEvent-triggering-physics.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0122-Don-t-spam-reload-spawn-chunks-in-nether-end.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0123-Remove-Debug-checks-from-DataBits.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0124-Option-to-use-vanilla-per-world-scoreboard-coloring-.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0125-Workaround-for-setting-passengers-on-players.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0126-SPIGOT-1903-Update-PlayerConnection-on-teleporting-p.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0127-Remove-unused-World-Tile-Entity-List.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0128-Don-t-tick-Skulls-unused-code.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0129-Fix-some-players-not-being-kicked-on-shutdown.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0130-Configurable-Player-Collision.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0131-Add-handshake-event-to-allow-plugins-to-handle-clien.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0132-Water-mobs-should-only-spawn-in-the-water.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0133-Fix-Bugs-with-Spigot-Mob-Spawn-Logic.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0134-Allow-capping-number-of-attempts-at-spawning-mobs.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0135-Configurable-RCON-IP-address.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0136-Prevent-Fire-from-loading-chunks.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0137-Implement-PlayerLocaleChangeEvent.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0138-EntityRegainHealthEvent-isFastRegen-API.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0139-Add-ability-to-configure-frosted_ice-properties.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0140-Vehicle-Event-Cancellation-Changes.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0141-Arrow-pickup-rule-API.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0142-Check-entity-count-additions-and-mark-entities-remov.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0143-SPIGOT-1401-Fix-dispenser-dropper-furnace-placement.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0144-Reimplement-PlayerEditBookEvent.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0145-Improve-Minecraft-Hopper-Performance.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0146-remove-null-possibility-for-getServer-singleton.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0147-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0148-LootTable-API-Replenishable-Lootables-Feature.patch TileEntityLootable can call processRefill with a null player 2016-05-15 01:41:36 -05:00
0149-Do-not-load-chunks-for-pathfinding.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0150-Entity-Tracking-Improvements.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0151-Don-t-save-empty-scoreboard-teams-to-scoreboard.dat.patch Paper 1.9.4 Update 2016-05-12 01:01:13 -04:00
0152-Do-not-mark-chunks-as-active-for-neighbor-updates.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0153-Unmark-chunk-as-unloading-when-unload-is-cancelled.patch Refactor Lighting Queue System 2016-05-15 18:48:39 -04:00
0154-System-property-for-disabling-watchdoge.patch Make watchdoge disabler its own patch file 2016-05-12 23:05:46 -05:00
0155-Optimize-EAR.patch Bring back an EAR optimization from 1.9.2 2016-05-13 01:39:03 -04:00