Folia/patches/server
Spottedleaf b5fc6d0a12 Correctly handle ender pearl end gateway teleportations
The end gateway is supposed to teleport the person who threw
the ender pearl.

The changes more closely mirror Vanilla behavior. The current
exceptions to Vanilla behavior are:

1. The first teleportation attempt for the end gateway always fails
2. If the ender pearl thrower is riding a vehicle, the thrower is
   dismounted from their vehicle.

I don't see any solutions for #1 right now. The root issue is that
since the end gateway does not have a target location, it has to
search for one. However, it can _fail_ to find a target location,
in which case the teleportation should not occur. Since the search
must take place asynchronously, it requires the entity to be
removed from the world.

For #2, this is because Vanilla's behavior is broken and does not
correctly teleport players riding boats. We can fix this by simply
dismounting the player and teleporting them separately of their boat,
which seems to be what Vanilla is trying to do given it does _not_
try to teleport the root vehicle of the player.

This is a partial fix to https://github.com/PaperMC/Folia/issues/51
2023-07-09 21:47:25 -07:00
..
0001-Build-changes.patch Update paper 2023-07-06 22:26:45 -07:00
0002-MC-Dev-fixes.patch Initial patch apply 2023-06-08 20:15:55 -07:00
0003-Threaded-Regions.patch Correctly handle ender pearl end gateway teleportations 2023-07-09 21:47:25 -07:00
0004-Max-pending-logins.patch Update paper 2023-07-06 22:26:45 -07:00
0005-Add-chunk-system-throughput-counters-to-tps.patch Initial patch apply 2023-06-08 20:15:55 -07:00
0006-Make-CraftEntity-getHandle-and-overrides-perform-thr.patch Set correct riding position for entity passengers on vehicle move packet 2023-07-09 20:40:57 -07:00
0007-Disable-mid-tick-task-execution.patch Update paper 2023-07-06 22:26:45 -07:00
0008-Throw-UnsupportedOperationException-for-broken-APIs.patch Update paper 2023-07-06 22:26:45 -07:00
0009-Fix-tests-by-removing-them.patch Update paper 2023-07-06 22:26:45 -07:00
0010-Work-around-https-github.com-PaperMC-paperweight-iss.patch Set correct riding position for entity passengers on vehicle move packet 2023-07-09 20:40:57 -07:00
0011-Require-plugins-to-be-explicitly-marked-as-Folia-sup.patch Initial patch apply 2023-06-08 20:15:55 -07:00
0012-Lag-compensate-block-breaking.patch Update paper 2023-07-06 22:26:45 -07:00
0013-Prevent-block-updates-in-non-loaded-or-non-owned-chu.patch Update to latest paper 2023-06-09 23:44:24 -07:00
0014-Block-reading-in-world-tile-entities-on-worldgen-thr.patch Initial patch apply 2023-06-08 20:15:55 -07:00
0015-Skip-worldstate-access-when-waking-players-up-during.patch Update paper 2023-07-06 22:26:45 -07:00
0016-Do-not-access-POI-data-for-lodestone-compass.patch Initial patch apply 2023-06-08 20:15:55 -07:00
0017-Synchronize-PaperPermissionManager.patch Fix compile / boot 2023-06-08 21:03:13 -07:00
0018-Fix-off-region-raid-heroes.patch Fix compile / boot 2023-06-08 21:03:13 -07:00
0019-Remove-unused-skyLightSources.patch Remove unused skyLightSources 2023-06-10 14:10:20 -07:00
0020-fixup-Rewrite-chunk-system.patch Fix some issues from Folia test 2023-06-25 14:01:20 -07:00
0021-Do-not-read-tile-entities-in-chunks-that-are-positio.patch Fix some issues from Folia test 2023-06-25 14:01:20 -07:00
0022-fixup-Rewrite-chunk-system.patch Update paper 2023-07-06 22:26:45 -07:00
0023-Sync-vehicle-position-to-player-position-on-player-d.patch Update paper 2023-07-06 22:26:45 -07:00