@EventHandler public void playerRespawn(PlayerRespawnEvent e) { e.setRespawnLocation(new Location(world, x, y, z, yaw, pitch)); }