Commit Graph

30 Commits

Author SHA1 Message Date
md_5
421c1728c8 Update to Minecraft 1.13-pre7 2018-07-15 10:00:00 +10:00
md_5
fb423b8f48 SPIGOT-3883: Better reloading of pending unload chunks 2018-04-04 16:12:32 +10:00
md_5
5195487ec6 Update to Minecraft 1.12-pre2 2017-05-14 12:00:00 +10:00
Geoff Crossland
6194f6cc49 Drop RegionFile.chunkExists() in favour of Mojang's own version 2017-04-27 21:25:33 +10:00
md_5
c25ddf063a Update to Minecraft 1.11 2016-11-17 12:41:03 +11:00
md_5
7f9fbe54ba Simplify a few diffs 2016-07-15 20:10:43 +10:00
md_5
0df416d679 SPIGOT-113: Add save status to ChunkUnloadEvent 2016-07-11 21:10:56 +10:00
Aikar
1953f52da1 SPIGOT-2439: Consistently fire Chunk(Load|Unload)Event
Clean up implementation and firing of both of these events by routing
both unload and load behaviors to consistent method calls.

This fixes issues where a few places would not call Load or Unload events
when it should have.

Additionally, reduces diff by moving the neighbor marking code into these
consistent points.

Additional benefits of the change include improving the neighbor marking
methods to use getChunkIfLoaded instead of getLoadedChunkAt in some places,
as the latter will cause chunks to be marked active and not unload.

Finally, this also updates CraftWorld.loadChunk to use the new methods, as the
previous logic did not properly handle the new unload queue.
2016-06-23 10:34:08 +10:00
md_5
1f507256e7 SPIGOT-2322: Chunks generating with missing / corrupted data. 2016-06-12 12:28:08 +10:00
md_5
a8a4bedd2a Update to Minecraft 1.10 2016-06-09 11:43:49 +10:00
md_5
8982e3f33e SPIGOT-2297: Reintroduce getChunkIfLoaded 2016-05-22 11:36:38 +10:00
md_5
6d133d5440 SPIGOT-2282: Get loaded chunk 2016-05-15 22:14:47 +10:00
md_5
23da8b0ab7 SPIGOT-2270: Retain Java 6 compat 2016-05-12 12:09:28 +10:00
md_5
e22506f964 Use direct chunk access for neighbour counts on unload 2016-05-11 16:01:17 +10:00
md_5
7e9122e74d Fix some [but not all] chunk unload issues 2016-05-11 15:34:16 +10:00
md_5
c5e9a169fa Minecraft 1.9.4 2016-05-10 21:47:39 +10:00
Thinkofname
b5a4d07141 SPIGOT-2014: Respect the spectatorsGenerateChunks gamerule 2016-04-20 11:00:35 +01:00
md_5
60f01ef304 SPIGOT-1626 / MC-98994: Fix slow chunk performance
Please see https://bugs.mojang.com/browse/MC-98994 for full explanation.
2016-03-05 18:50:38 +11:00
Thinkofdeath
8447e4f3ed SPIGOT-1659: Fix a mistake in ChunkProviderServer that sometimes caused recursive chunk loads 2016-03-02 21:29:11 +00:00
md_5
aa008dff0f Update to Minecraft 1.9 2016-03-01 09:32:45 +11:00
md_5
a65e45d889 [SPIGOT-946] Begin making use of access transforms to simplify patching. 2015-06-06 19:46:42 +10:00
md_5
d63abf6cf1 Cut fluff from patch headers. 2015-05-25 20:37:24 +10:00
Thinkofdeath
3fce0ec0f5 SPIGOT-729: Revert the entity slice move 2015-03-22 19:01:30 +00:00
Thinkofdeath
7f609b12b9 SPIGOT-705: Fix possible CME 2015-03-15 21:38:05 +00:00
Thinkofdeath
d8a9c7be42 Update to Minecraft 1.8.3 2015-03-04 09:48:58 +00:00
Thinkofdeath
90ac03522a Revert "Remove patch headers"
This reverts commit d6e3dff7d8.
2014-11-28 23:02:15 +00:00
GunfighterJ
d6e3dff7d8 Remove patch headers 2014-11-28 16:54:14 -06:00
Thinkofdeath
2abdb9a061 Use the right name for the AsyncPlayerPreLoginEvent 2014-11-28 17:43:48 +00:00
Thinkofdeath
669c44cb3c Fix eating food whilst not facing a block 2014-11-28 11:23:19 +00:00
Thinkofdeath
24557bc2b3 Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/
2014-11-28 17:16:30 +11:00