This is done by returning the center location of the chunk at the height
of the input location when the target chunk isn't loaded already which
is exact enough for most use cases and will get more precise once the
player is close enough for the chunk being loaded anyways.
As this might lead to less precise locations a config option to enable
the sync loading of the chunks is provided.
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing
CraftBukkit Changes:
90a4d64a Remove usage of Java 11 method not caught by animal sniffer
c51c0f7f SPIGOT-6483: Fix cancelling EntityPickupEvent for villagers