Changes

Summary

  1. SPIGOT-6980: Since 1.18.2, World#isChunkLoaded returned false for chunks (details)
  2. #1038: Removed the no longer needed getChunkUnchecked method from (details)
  3. #1039: Use correct ops in GeneratorSettings (details)
Commit 4ac8fcce8d1ad494472a9c59d64855c30edfee84 by md_5 (md_5)
SPIGOT-6980: Since 1.18.2, World#isChunkLoaded returned false for chunks that have just been loaded (e.g. inside ChunkLoadEvent).

Some changes of the 1.18.2 update have been reverted to resolve this regression.
The file was modifiednms-patches/net/minecraft/server/level/ChunkProviderServer.patch
The file was modifiedsrc/main/java/org/bukkit/craftbukkit/CraftWorld.java
The file was modifiednms-patches/net/minecraft/server/level/PlayerChunk.patch
Commit a567e4ae6380c0986629eb50078bdcce097bb341 by md_5 (md_5)
#1038: Removed the no longer needed getChunkUnchecked method from ChunkProviderServer.

This method was added in 8c7d69fefca16aaaac0465dce30899bc74944838 to fix SPIGOT-5228. But since Minecraft 1.17 changed how entities are added and removed from chunks, this method has no longer been used.
The file was modifiednms-patches/net/minecraft/server/level/ChunkProviderServer.patch
Commit d53c4fb65c0832202237cc669ae9db1aaa9197c0 by md_5 (md_5)
#1039: Use correct ops in GeneratorSettings
The file was addednms-patches/net/minecraft/world/level/levelgen/GeneratorSettings.patch