Expected behavior
PlayerTeleportEvent to fire for all teleportations
Observed/Actual behavior
PlayerTeleportEvent only fires for causes:
CONSUMABLE_EFFECT: tested eating chorus fruit
DISMOUNT: tested getting off a camel
EXIT_BED: tested getting out of bed
It does not fire for causes:
ENDER_PEARL: tested by throwing an ender pearl
NETHER_PORTAL: tested by walking through nether portal
END_PORTAL: tested by walking through an end portal
Steps/models to reproduce
final class PortalListener implements Listener {
@EventHandler(priority = EventPriority.MONITOR)
public void onTeleport(PlayerTeleportEvent event) {
logger.debug("onTeleport");
}
}
And
public final class MyPlugin extends JavaPlugin {
@Override
public void onEnable() {
getServer().getPluginManager().registerEvents(
new PortalListener()
);
}
}
Plugin and Datapack List
Just MyPlugin for testing
Folia version
This server is running Folia version 26.1.2-8-ver/26.1.x@62dc0f2 (2026-05-06T13:45:28Z) (Implementing API version 26.1.2.build.8-stable)
You are running the latest version
Other
No response
Expected behavior
PlayerTeleportEvent to fire for all teleportations
Observed/Actual behavior
PlayerTeleportEvent only fires for causes:
CONSUMABLE_EFFECT: tested eating chorus fruitDISMOUNT: tested getting off a camelEXIT_BED: tested getting out of bedIt does not fire for causes:
ENDER_PEARL: tested by throwing an ender pearlNETHER_PORTAL: tested by walking through nether portalEND_PORTAL: tested by walking through an end portalSteps/models to reproduce
And
Plugin and Datapack List
Just MyPlugin for testing
Folia version
This server is running Folia version 26.1.2-8-ver/26.1.x@62dc0f2 (2026-05-06T13:45:28Z) (Implementing API version 26.1.2.build.8-stable)
You are running the latest version
Other
No response